Skip to content

Commit 2d83b10

Browse files
fix: the scrollbar on sidebar (#474)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent f62b4bd commit 2d83b10

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

doc/changelog.d/474.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: the scrollbar on sidebar

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/pydata-sphinx-theme-custom.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
max-height: calc(100vh - var(--pst-header-height) - 1vh);
1515
line-height: var(--ast-global-line-height);
1616
border: none;
17-
overflow: hidden;
17+
overflow: auto;
18+
}
19+
20+
.bd-sidebar-primary .sidebar-primary-items__end {
21+
margin-bottom: unset;
22+
margin-top: unset;
1823
}
1924

2025
.sidebar-secondary-item {

0 commit comments

Comments
 (0)