Fix "Results boosted by LBC" wrapping unnecessarily

This commit is contained in:
infinite-persistence 2022-03-01 17:18:06 +08:00 committed by Thomas Zarebczan
parent d15a0308b2
commit b99c83a13f
2 changed files with 9 additions and 1 deletions

View file

@ -183,7 +183,7 @@ function DiscoverPage(props: Props) {
}, [isAuthenticated]);
return (
<Page noFooter fullWidthPage={tileLayout}>
<Page noFooter fullWidthPage={tileLayout} className="main__discover">
<Ads type="homepage" />
<ClaimListDiscover
pins={getPins(dynamicRouteProps)}

View file

@ -1134,6 +1134,14 @@ body {
max-width: 32rem;
}
.main__discover {
.section__actions--no-margin {
@media (max-width: $breakpoint-small) {
width: unset; // It was being set to '100%' globally. Not sure why.
}
}
}
.main-wrapper--scrollbar {
// The W3C future standard; currently supported by Firefox only.
// It'll hopefully auto fallback to this when 'webkit-scrollbar' below is deprecated in the future.