Allow overflow from section containers on mobile

The ellipsis buttons in sections on mobile weren't able to properly show
their dropdowns or parts of their highlight because of the section
overflow we applied with visual enhancements. Because this was added for
a block context to contain the floating subscribe links, scope this to
mobile where that shouldn't be a concern.

Bug: T330536
Bug: T330537
Change-Id: Ic9787d6ca622a8f8bfbf9797353129e7fa40f4b7
This commit is contained in:
David Lynch 2023-03-09 10:50:38 -06:00
parent aa5a4737d1
commit fbd5f575a4

View file

@ -181,6 +181,10 @@ h1, h2, h3, h4, h5, h6 {
// for headings, but we add the floating stuff outside of headings (since T314714). // for headings, but we add the floating stuff outside of headings (since T314714).
// https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context // https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
overflow: hidden; overflow: hidden;
.skin-minerva& {
overflow: visible;
}
} }
// Topic subscriptions (link) // Topic subscriptions (link)