tablet: a bit more breathing room in drink tiles
Name/price/Pfand were packed tight (2px gap before Pfand, 1.15 line-height on the name) — small bump to margins + line-height so tiles read less cramped regardless of how many rows are on screen. Independent of the row-count question raised on the issue (grid-auto-rows sizing for 5 rows vs however many drinks are actually configured) — that's a separate, bigger call pending confirmation of what device the screenshot was taken on.
This commit is contained in:
parent
bec4a0080c
commit
71c3712cbf
1 changed files with 3 additions and 3 deletions
|
|
@ -145,9 +145,9 @@ button.danger { background: #5a2a2a; border-color: #7a3a3a; color: #fff; }
|
|||
font-size: 22px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.drink .name { font-weight: 800; line-height: 1.15; max-width: 100%; word-break: break-word; overflow-wrap: break-word; }
|
||||
.drink .price { font-size: 22px; font-weight: 700; margin-top: 6px; }
|
||||
.drink .pfand { font-size: 15px; font-weight: 600; color: var(--pfand); margin-top: 2px; }
|
||||
.drink .name { font-weight: 800; line-height: 1.25; max-width: 100%; word-break: break-word; overflow-wrap: break-word; }
|
||||
.drink .price { font-size: 22px; font-weight: 700; margin-top: 8px; }
|
||||
.drink .pfand { font-size: 15px; font-weight: 600; color: var(--pfand); margin-top: 4px; }
|
||||
|
||||
.drink.pfand-return {
|
||||
background: #5a2a2a;
|
||||
|
|
|
|||
Loading…
Reference in a new issue