[ui] CSS – opravena mezera mezi labelem a inputem (line-height na labelu)
This commit is contained in:
+5
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user