Merge pull request #1225 from Computroniks/fix-checkbox-css

Fixed dark mode checkbox
This commit is contained in:
Louis Lam 2022-03-04 14:35:15 +08:00 committed by GitHub
commit c0e0698c21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,8 +156,13 @@ textarea.form-control {
.form-check-input { .form-check-input {
background-color: $dark-bg2; background-color: $dark-bg2;
border-color: $dark-border-color;
} }
.form-check-input:checked {
border-color: $primary; // Re-apply bootstrap border
}
.form-switch .form-check-input { .form-switch .form-check-input {
background-color: #232f3b; background-color: #232f3b;
} }