Niedzielski has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/398535 )
Change subject: Fix: horizontally scroll sections as needed
......................................................................
Fix: horizontally scroll sections as needed
When all other CSS adjustments fail, allow horizontal scroll bars to be
shown at the section level instead of the page level.
Change-Id: I871fb9f72bdb7762ffe9eae74b5bd736e77a5841
---
M src/common/components/content-section/content-section.css
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/marvin refs/changes/35/398535/1
diff --git a/src/common/components/content-section/content-section.css
b/src/common/components/content-section/content-section.css
index 5444bd4..934e727 100644
--- a/src/common/components/content-section/content-section.css
+++ b/src/common/components/content-section/content-section.css
@@ -1,3 +1,9 @@
+.ContentSection {
+ /* When all else fails, add scrollbars at the section level:
+ http://localhost:3000/wiki/File:Belgica1web.jpg. */
+ overflow-x: auto;
+}
+
.ContentSection-header {
/* Add a bottom divider under each section header. */
border-bottom: 1px solid var(--wmui-color-base80);
--
To view, visit https://gerrit.wikimedia.org/r/398535
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I871fb9f72bdb7762ffe9eae74b5bd736e77a5841
Gerrit-PatchSet: 1
Gerrit-Project: marvin
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <[email protected]>
Gerrit-Reviewer: Sniedzielski <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits