Skip to content

Commit

Permalink
improve side-nav (fixes #115)
Browse files Browse the repository at this point in the history
- define a min and max width for the sidebar to avoid
  that the side-nav container can be collapsed by the
  user into a non-recoverable state
- increase sidebar resize handle width to 4px
  • Loading branch information
jothepro committed May 30, 2023
1 parent f54bc54 commit 2959339
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions doxygen-awesome-sidebar-only.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ html {
.ui-resizable-handle {
cursor: default;
width: 1px !important;
background: var(--separator-color);
box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color);
}

Expand Down
7 changes: 5 additions & 2 deletions doxygen-awesome.css
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,8 @@ html.dark-mode iframe#MSearchResults {
#side-nav {
padding: 0 !important;
background: var(--side-nav-background);
min-width: 8px;
max-width: 50vw;
}

@media screen and (max-width: 767px) {
Expand Down Expand Up @@ -863,8 +865,9 @@ html.dark-mode iframe#MSearchResults {
}

.ui-resizable-e {
background: var(--separator-color);
width: 1px;
width: 4px;
background: transparent;
box-shadow: inset -1px 0 0 0 var(--separator-color);
}

/*
Expand Down

0 comments on commit 2959339

Please sign in to comment.