Skip to content

Commit

Permalink
fix: Add z-index for sugar warning #8477 (#9617)
Browse files Browse the repository at this point in the history
  • Loading branch information
TCatinaud authored Jan 5, 2024
1 parent e8cb4f4 commit 7ed1019
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1>[% title %]</h1>

[% IF errors_index >=0 %]
<p>[% lang("correct_the_following_errors") %]</p>

[% FOREACH error IN errors %]
<p class="error">[% error %]</p><br/>
[% END %]
Expand All @@ -45,7 +45,7 @@ <h1>[% title %]</h1>
<li><a class="nav-link scrollto button small round white-button" href="#packaging_section"><span>[% lang("packaging") %]</span></a></li>
</ul>
</nav><!-- .navbar -->
</div>
</div>
</div>
</div>

Expand All @@ -60,7 +60,7 @@ <h1>[% title %]</h1>
<p id="barcode_paragraph"> [% lang("barcode") %][% sep %]:
<span id="barcode" property="food:code" itemprop="gtin13" style="speak-as:digits;">[% code %]</span>
</p>


[% IF moderator %]
<label for="new_code" id="label_new_code">[% label_new_code %]</label>
Expand Down Expand Up @@ -114,7 +114,7 @@ <h1>[% title %]</h1>

</div>
</section>

<section id="product_image" class="card fieldset">
<div class="card-section">
<legend>[% lang("product_image") %]</legend>
Expand All @@ -129,7 +129,7 @@ <h1>[% title %]</h1>

[% display_tab_product_picture %]
</div>
</section>
</section>

<section id="product_characteristics" class="fieldset card">
<div class="card-section">
Expand Down Expand Up @@ -216,7 +216,7 @@ <h1>[% title %]</h1>
<label class="nutriment_label" for="nutriment_[% nutriment.enid %]">[% nutriment.prefix %][% nutriment.name %]*</label>
[% ELSE %]
<label class="nutriment_label" for="nutriment_[% nutriment.enid %]">[% nutriment.prefix %][% nutriment.name %]</label>
[% END %]
[% END %]
[% ELSIF nutriment.label_value.defined %]
<input class="nutriment_label" id="nutriment_[% nutriment.enid %]_label" name="nutriment_[% nutriment.enid %]_label" value="[% nutriment.label_value %]" />
[% ELSE %]
Expand Down Expand Up @@ -268,7 +268,7 @@ <h1>[% title %]</h1>
<p class="asterisk">&rarr;*[% sep %]:[% lang('nutrition_data_table_asterisk') %]</p>
<p class="note">&rarr; [% lang('nutrition_data_table_note') %]</p>
</div>

</div>
</section><!--nutrient field set-->

Expand Down Expand Up @@ -346,7 +346,7 @@ <h1>[% title %]</h1>

</form>



</body>

Expand Down Expand Up @@ -375,6 +375,7 @@ <h1>[% title %]</h1>
font-size: 0.8em;
white-space: nowrap;
margin-top: 1%;
z-index: 1;
}

.soft-background {
Expand Down

0 comments on commit 7ed1019

Please sign in to comment.