Skip to content

Commit

Permalink
Fix label translation on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasevano committed Feb 13, 2021
1 parent dd16484 commit be8b261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ form input:focus-within ~ label {
@apply text-black;
}
form input:focus-within ~ label,
input:not(:placeholder-shown) ~ label {
input[type="date"] ~ label {
@apply transform scale-75 -translate-y-6;
}

0 comments on commit be8b261

Please sign in to comment.