Skip to content

Commit 1fe8b73

Browse files
committed
fix: label shift on textarea focus
1 parent cf7f6a7 commit 1fe8b73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
}
7575

7676
.input__group label.active,
77-
.input__group input:focus + label {
77+
.input__group input:focus + label,
78+
.input__group textarea:focus + label {
7879
top: -1.5rem;
7980
font-size: 0.875rem;
8081
left: 0.5rem;

0 commit comments

Comments
 (0)