fix: design review comments

This commit is contained in:
Christel Westerberg
2024-07-10 11:01:42 +02:00
parent 19bfdf67f3
commit 6b5606fc8b
7 changed files with 61 additions and 22 deletions

View File

@@ -3,7 +3,7 @@
font-family: "fira sans";
font-weight: 400;
letter-spacing: 0.03px;
line-height: 19px;
line-height: 120%;
text-align: left;
}
@@ -17,13 +17,17 @@ span.regular {
order: 1;
}
input:focus ~ .label,
input:active ~ .label,
input:not(:placeholder-shown) ~ .label {
display: block;
font-size: 12px;
transition: font-size 100ms ease;
}
input:focus ~ .label {
font-size: 12px;
}
input:placeholder-shown ~ .label {
grid-row: 1/-1;
}