fix placeholder (#342)

This commit is contained in:
Cyril59310 2024-01-13 21:56:55 +01:00 committed by GitHub
parent 36c3f01d00
commit 2e6e2bda38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ textarea.form-control {
} }
::placeholder { ::placeholder {
color: $dark-font-color3 !important; color: $dark-font-color3;
} }
.incident a, .incident a,
@ -422,9 +422,8 @@ optgroup {
// Floating Label // Floating Label
.form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-select ~ label::after { .form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-select ~ label::after {
background-color: transparent; background-color: transparent;
} }
.form-floating > label { .form-floating > label {
.dark & { .dark & {
color: $dark-font-color3 !important; color: $dark-font-color3 !important;