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