Skip to content

Commit e6def01

Browse files
committed
Fixes AB#469: Sidebar border for high-contrast mode
1 parent cc27b87 commit e6def01

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/@batch-flask/ui/sidebar/sidebar-content/sidebar-content.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@ bl-sidebar-content {
55
background-color: $card-background;
66
}
77
}
8+
9+
@media (forced-colors: active) {
10+
bl-sidebar-content {
11+
.right-sidebar-content {
12+
border-left: 1px solid currentColor;
13+
}
14+
}
15+
}

src/app/styles/vendor/material-theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,7 @@ mat-button-toggle-group {
185185
border: 1px solid $outline-color;
186186
}
187187
}
188+
189+
.cdk-high-contrast-active .mat-drawer.mat-drawer-end {
190+
border-left: none;
191+
}

0 commit comments

Comments
 (0)