Skip to content

Commit

Permalink
fix(NcAppContent): splitpane splitter styles with dark theme
Browse files Browse the repository at this point in the history
The CSS selectors used for the splitter were no functional, so we were
using the default ones from splitpane here.

Use our variables for colors to unbreak styling in dark mode.

Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Jul 22, 2024
1 parent 7898316 commit baa89be
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions src/components/NcAppContent/NcAppContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -418,25 +418,17 @@ export default {
}
}
}
.app-content-wrapper--vertical-split {
&.splitpanes--vertical {
.splitpanes__splitter {
width: 9px;
margin-left: -5px;
background-color: transparent;
border-left: none;
background-color: var(--color-main-background);
border-left: 1px solid var(--color-border);
&:before,
&:after {
display: none;
&::before, &::after {
background-color: var(--color-border);
}
}
}
.app-content-wrapper--horizontal-split {
.splitpanes__splitter {
height: 9px;
margin-top: -5px;
}
}
}
.app-content-wrapper--show-list {
Expand Down

0 comments on commit baa89be

Please sign in to comment.