Changed action column width
This commit is contained in:
parent
020c4e30ea
commit
fd24bced60
@ -16,7 +16,7 @@
|
||||
<% end %>
|
||||
</fieldset>
|
||||
|
||||
<table class="list" style="border: none; width: 100%">
|
||||
<table class="list" style="border:none; width:100%">
|
||||
<tr>
|
||||
<% total_width = 3 + @primary_quantities.length %>
|
||||
<td style="visibility: hidden; border: none; width:<%= 3 * 100/total_width%>%"></td>
|
||||
|
@ -29,7 +29,7 @@
|
||||
<tr>
|
||||
<th><%= l(:field_name) %></th>
|
||||
<th><%= l(:field_description) %></th>
|
||||
<th style="width:15%"><%= l(:field_action) %></th>
|
||||
<th style="width:10%"><%= l(:field_action) %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -29,7 +29,7 @@
|
||||
<tr>
|
||||
<th><%= l(:field_shortname) %></th>
|
||||
<th><%= l(:field_name) %></th>
|
||||
<th style="width:15%"><%= l(:field_action) %></th>
|
||||
<th style="width:10%"><%= l(:field_action) %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -4,6 +4,7 @@ table.nutrients.list td.quantity {text-align: left; border-bottom: none;}
|
||||
table.nutrients.list td.space {border-top: none; border-bottom: none;}
|
||||
table.nutrients.list td.value {border-top: none;}
|
||||
table.list tr.ingredient.hidden {opacity: 0.4}
|
||||
table.list td.action,
|
||||
table.list td.name {white-space: nowrap;}
|
||||
table.list td.action,
|
||||
table.list td.value {text-align: right;}
|
||||
|
Reference in New Issue
Block a user