[ui] CSS – opravena mezera mezi labelem a inputem (line-height na labelu)

This commit is contained in:
stepan
2026-03-18 23:27:44 +01:00
parent af6df61128
commit cb3e7a2969
+5 -2
View File
@@ -300,7 +300,8 @@ label {
text-transform: uppercase; text-transform: uppercase;
color: var(--ocel-svetly); color: var(--ocel-svetly);
margin-bottom: 0; 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 */ /* Inline label pro checkbox jiný styl */
@@ -337,7 +338,9 @@ input[type="password"] {
box-shadow: var(--stin-input); box-shadow: var(--stin-input);
transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s; transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
outline: none; 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, input[type="text"]:focus,