mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-03 16:38:50 -04:00
fix(styles): use correct dark-mode selector in css
The dark-mode selector changed from the class "dark" attached to the body element to a data-attribute with some react-bootstrap upgrade. This commit reflects this change in our custom css. Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
603ad8088c
commit
7195c1bdc0
4 changed files with 12 additions and 13 deletions
|
@ -14,7 +14,7 @@
|
|||
display: grid !important;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
|
||||
:global(body.dark) & {
|
||||
:global(body[data-bs-theme=dark]) & {
|
||||
background-color: rgb(27, 31, 35);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
--sidebar-menu-width: 280px;
|
||||
--sidebar-separator-color: var(--bs-secondary);
|
||||
|
||||
:global(body.dark) & {
|
||||
:global(body[data-bs-theme=dark]) & {
|
||||
--sidebar-separator-color: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue