1
0

Extra nutrients are displayed in table cells

Fixed column widths with content ellipsizing
This commit is contained in:
cryptogopher
2019-10-31 15:28:32 +01:00
parent 6f9e8926d7
commit 2f0b34d3fe
3 changed files with 49 additions and 27 deletions

View File

@@ -2,8 +2,15 @@ table.list tr.quantity.primary td.name {font-weight: bold;}
table.list tr.ingredient.hidden {opacity: 0.4}
table.list td.action,
table.list td.value {text-align: right;}
table.list th,
table.list td.action,
table.list td.name {white-space: nowrap;}
table.list td.name,
table.list td.value {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 1px;
}
.icon-move-left { background-image: url(../images/1leftarrow.png); }
.icon-move-right { background-image: url(../images/1rightarrow.png); }