Skip to content

A free, self-hostable news aggregator…

Only display scrollbar everywhere if there's an overflow (#8542)

Inverle9f0a8deb6f24
diff --git a/docs/_includes/docs.css b/docs/_includes/docs.css
index d55ead82a..833ee75c0 100644
--- a/docs/_includes/docs.css
+++ b/docs/_includes/docs.css
@@ -35,7 +35,7 @@ aside {
}
aside > nav.docs {
- overflow-y: scroll;
+ overflow-y: auto;
max-height: 90vh;
}
diff --git a/docs/assets/css/highlight.css b/docs/assets/css/highlight.css
index 6b5c4b725..d561e5a33 100644
--- a/docs/assets/css/highlight.css
+++ b/docs/assets/css/highlight.css
@@ -1,6 +1,6 @@
pre.highlight {
padding: 1rem;
- overflow-x: scroll;
+ overflow-x: auto;
}
/* generated with `rougify style github` */
diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css
index 9b15db750..e7305c166 100644
--- a/p/themes/base-theme/frss.css
+++ b/p/themes/base-theme/frss.css
@@ -2508,7 +2508,7 @@ html.slider-active {
}
.aside:not(.aside_feed) {
- overflow-y: scroll;
+ overflow-y: auto;
}
nav.configure > .dropdown li.item.dropdown-section:last-child,
diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css
index 23787335a..c662228da 100644
--- a/p/themes/base-theme/frss.rtl.css
+++ b/p/themes/base-theme/frss.rtl.css
@@ -2508,7 +2508,7 @@ html.slider-active {
}
.aside:not(.aside_feed) {
- overflow-y: scroll;
+ overflow-y: auto;
}
nav.configure > .dropdown li.item.dropdown-section:last-child,