Skip to content

Commit

Permalink
Merge pull request #1917 from dscho/fix-sidebar-btn
Browse files Browse the repository at this point in the history
Keep sidebar open when clicking inside it
  • Loading branch information
dscho authored Nov 12, 2024
2 parents c6e9a2b + 7991fa4 commit 977eccd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/sass/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ aside.sidebar.active {
border: none;
left: 0;
width: 1.6rem;
&:focus + .sidebar {
@include responsive-sidebar-ui;
}
}
.sidebar-btn:focus + .sidebar, .sidebar:focus-within {
@include responsive-sidebar-ui;
}
aside{
&.sidebar {
Expand Down

0 comments on commit 977eccd

Please sign in to comment.