From ade121f43fd6e82e991658819e9030d6e2834f00 Mon Sep 17 00:00:00 2001 From: dadaloop82 Date: Tue, 26 May 2026 18:18:42 +0000 Subject: [PATCH] fix: align recipe persons-ctrl inline, enlarge fav star --- assets/css/style.css | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 6618a48..0791100 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -4240,6 +4240,7 @@ body.server-offline .bottom-nav { .recipe-result .recipe-meta { display: flex; flex-wrap: wrap; + align-items: center; gap: 8px; margin-bottom: 12px; } @@ -6550,11 +6551,12 @@ body.cooking-mode-active .app-header { .btn-recipe-fav { background: none; border: none; - font-size: 1.4rem; + font-size: 1.8rem; cursor: pointer; color: var(--text-muted); padding: 0 4px; line-height: 1; + vertical-align: middle; transition: color 0.2s, transform 0.15s; margin-left: auto; } @@ -6566,8 +6568,10 @@ body.cooking-mode-active .app-header { .recipe-persons-ctrl { display: inline-flex; align-items: center; - gap: 4px; - padding: 3px 6px; + gap: 3px; + padding: 0 6px; + vertical-align: middle; + line-height: 1; } .btn-persons-adj { @@ -6575,20 +6579,26 @@ body.cooking-mode-active .app-header { border: 1px solid var(--border-color, #2a3a50); color: var(--text-primary); border-radius: 50%; - width: 22px; - height: 22px; - font-size: 1rem; + width: 18px; + height: 18px; + font-size: 0.85rem; line-height: 1; cursor: pointer; - display: flex; + display: inline-flex; align-items: center; justify-content: center; padding: 0; + flex-shrink: 0; transition: background 0.15s; } .btn-persons-adj:hover { background: var(--accent, #6366f1); color: #fff; } +#recipe-persons-display { + white-space: nowrap; + font-size: 0.82rem; +} + /* ===== MACRONUTRIENT PANEL (#118) ===== */ .macro-bars { display: flex;