Skip to content

Commit 6af9ce3

Browse files
committed
better position for sidebar toggle button
1 parent be2a5f3 commit 6af9ce3

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

api-docs/cppdocs/binaryninja-docs.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,10 @@ tr#projectrow {
429429
display: none;
430430
}
431431

432+
.sidebar-toggle {
433+
display: none;
434+
}
435+
432436
#top {
433437
position: relative;
434438
width: 100%;
@@ -1325,9 +1329,9 @@ html.dark-mode .darkmode_inverted_image object[type="image/svg+xml"] {
13251329
* ============================================================================ */
13261330

13271331
.sidebar-toggle {
1328-
position: absolute;
1329-
top: 10px;
1330-
right: 10px;
1332+
position: fixed;
1333+
bottom: 20px;
1334+
left: calc(var(--sidebar-width) - 50px);
13311335
z-index: 1000;
13321336
width: 30px;
13331337
height: 30px;
@@ -1351,15 +1355,11 @@ html.dark-mode .darkmode_inverted_image object[type="image/svg+xml"] {
13511355

13521356
/* Collapsed sidebar state */
13531357
#side-nav.collapsed {
1354-
width: 0 !important;
1355-
min-width: 0 !important;
1356-
max-width: 0 !important;
1357-
overflow: visible;
1358+
overflow: visible !important;
13581359
}
13591360

13601361
#side-nav.collapsed .sidebar-toggle {
13611362
left: 10px;
1362-
right: auto;
13631363
}
13641364

13651365
/* Hide header/top when collapsed */

0 commit comments

Comments
 (0)