diff --git a/app/views/ingredients/_options.html.erb b/app/views/ingredients/_options.html.erb index dd56085..41fa820 100644 --- a/app/views/ingredients/_options.html.erb +++ b/app/views/ingredients/_options.html.erb @@ -16,7 +16,7 @@ <% end %> - +
<% total_width = 3 + @primary_quantities.length %> diff --git a/app/views/sources/index.html.erb b/app/views/sources/index.html.erb index b3f100b..8a8adbf 100644 --- a/app/views/sources/index.html.erb +++ b/app/views/sources/index.html.erb @@ -29,7 +29,7 @@ - + diff --git a/app/views/units/index.html.erb b/app/views/units/index.html.erb index 1d409da..f33212f 100644 --- a/app/views/units/index.html.erb +++ b/app/views/units/index.html.erb @@ -29,7 +29,7 @@ - + diff --git a/assets/stylesheets/body_tracking.css b/assets/stylesheets/body_tracking.css index 15d61fb..b6d7a5c 100644 --- a/assets/stylesheets/body_tracking.css +++ b/assets/stylesheets/body_tracking.css @@ -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;}
<%= l(:field_name) %> <%= l(:field_description) %><%= l(:field_action) %><%= l(:field_action) %>
<%= l(:field_shortname) %> <%= l(:field_name) %><%= l(:field_action) %><%= l(:field_action) %>