Align food counts next to recipient checkboxes

This commit is contained in:
coyotte508 2026-10-16 13:22:52 +02:00
commit 3e35d4e400
4 changed files with 9 additions and 5 deletions

View file

@ -389,3 +389,5 @@ Viewer 0.1.134 lets the Barbarian, Pirate, Trade Routes and Regions guides colla
Viewer 0.1.135 / engine 0.4.96 exposes Rituals happiness payment allocation and allows food-distribution events to target other players at their storage limit; excess food is wasted normally.
Viewer 0.1.136 shows current food / storage limit with the food icon beside each food-distribution recipient, without warning text or disabling full recipients.
Viewer 0.1.137 aligns recipient food counts beside the selection checkbox rather than stretching the count across half the row.

View file

@ -1,12 +1,12 @@
{
"name": "@boardgamers/clash-web-client",
"version": "0.1.136",
"version": "0.1.137",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@boardgamers/clash-web-client",
"version": "0.1.136",
"version": "0.1.137",
"dependencies": {
"@boardgamers/protocol": "0.9.0",
"lucide-svelte": "^0.577.0",

View file

@ -1,6 +1,6 @@
{
"name": "@boardgamers/clash-web-client",
"version": "0.1.136",
"version": "0.1.137",
"private": true,
"type": "module",
"scripts": {

View file

@ -485,12 +485,14 @@
.decision-card-group:first-child { margin-top: 0; }
.decision-card-group small { font-weight: normal; color: var(--muted); }
.recipient-food {
.decision-options .decision-option > .recipient-food {
display: inline-flex;
align-items: center;
gap: 0.3rem;
white-space: nowrap;
font-variant-numeric: tabular-nums;
flex-shrink: 0;
flex: 0 0 auto;
margin-left: auto;
margin-right: 0.5rem;
}
</style>