Skip to content

Commit a8210ff

Browse files
authored
Allow scroll on main content overflowing elements + fix anchor links (#174)
1 parent 8ae0c51 commit a8210ff

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

pydata_sphinx_theme/static/css/index.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/index.scss

+8-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $container-max-widths: (
44
sm: 540px,
55
md: 720px,
66
lg: 960px,
7-
xl: 1400px
7+
xl: 1400px,
88
);
99

1010
// Include core Bootstrap
@@ -219,11 +219,15 @@ td:first-child {
219219

220220
.bd-content {
221221
padding-top: 20px;
222-
overflow: auto;
223222

224-
// make every overflowing section in main content scrollable
225223
.section {
226-
overflow: auto;
224+
max-width: 100%;
225+
226+
// make every overflowing elements in main content scrollable
227+
table {
228+
display: block;
229+
overflow: auto;
230+
}
227231
}
228232
}
229233

0 commit comments

Comments
 (0)