Skip to content

Commit

Permalink
Quick-Fix for broken selectors in admin dark mode (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
dasGoogle authored Jul 29, 2024
1 parent 5df5db4 commit 5735a24
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions myhpi/static/css/myHPI_admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,21 @@
left: 200px !important ;
bottom: 40px !important;
}

@media(prefers-color-scheme: dark) {
.select2-container--default .select2-selection--single .select2-selection__rendered {
color: white !important;
background-color: inherit !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--multiple .select2-selection__choice,
.select2-container--default .select2-results__option[aria-selected="true"] {
background-color: inherit !important;
}

.select2-dropdown {
background-color: black !important;
}
}

0 comments on commit 5735a24

Please sign in to comment.