Skip to content

Commit bee7e58

Browse files
committed
Use text cursor for form input label, speed up transition
1 parent 160d390 commit bee7e58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/form/index.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
display: block;
77
margin: 3rem 0;
88
font-family: var(--font-name--paragraph);
9+
cursor: text;
910

1011
&:after {
1112
content: '';
@@ -45,7 +46,7 @@
4546
transform: translateY(-1.5rem);
4647
transform-origin: left;
4748

48-
transition: transform 0.3s;
49+
transition: transform 0.2s;
4950
}
5051

5152
input,

0 commit comments

Comments
 (0)