From cb3e7a29697e889ebd3e699601db57902abfcd49 Mon Sep 17 00:00:00 2001 From: stepan Date: Wed, 18 Mar 2026 23:27:44 +0100 Subject: [PATCH] =?UTF-8?q?[ui]=20CSS=20=E2=80=93=20opravena=20mezera=20me?= =?UTF-8?q?zi=20labelem=20a=20inputem=20(line-height=20na=20labelu)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/auth-styl.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/css/auth-styl.css b/css/auth-styl.css index 705f7c4..9dfb94a 100644 --- a/css/auth-styl.css +++ b/css/auth-styl.css @@ -300,7 +300,8 @@ label { text-transform: uppercase; color: var(--ocel-svetly); margin-bottom: 0; - line-height: 1.5; + padding-bottom: 0; + line-height: 1; /* pevná výška řádku – zabrání dědění 1.75 z body */ } /* Inline label pro checkbox – jiný styl */ @@ -337,7 +338,9 @@ input[type="password"] { box-shadow: var(--stin-input); transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s; outline: none; - margin-top: 0; + margin-top: 0.15rem; /* minimální optický odstup od labelu */ + margin-bottom: 0; + line-height: 1.4; } input[type="text"]:focus,