Skip to content

Commit

Permalink
[website] Hide scrollbars of hero containers (#29474)
Browse files Browse the repository at this point in the history
Co-authored-by: Benny Joo <[email protected]>
Co-authored-by: danilo leal <[email protected]>
  • Loading branch information
3 people authored Feb 2, 2022
1 parent f3848ef commit 68b8464
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/components/home/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default function Hero() {
p: 3,
ml: 2,
minWidth: 2000,
overflowY: 'auto',
overflow: 'scroll',
'& > div': {
width: 360,
display: 'inline-flex',
Expand Down
1 change: 1 addition & 0 deletions docs/src/components/productCore/CoreHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export default function Hero() {
p: 3,
minWidth: 2000,
flexDirection: 'column',
overflow: 'scroll',
}}
right={
<ThemeProvider
Expand Down
1 change: 1 addition & 0 deletions docs/src/components/productX/XHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export default function XHero() {
}
rightSx={{
p: { md: 2, lg: 3, xl: 4 },
overflow: 'scroll',
}}
right={
<React.Fragment>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/layouts/HeroContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function HeroContainer({
borderBottomLeftRadius: 10,
transition: 'max-height 0.3s',
position: 'relative',
overflowX: 'hidden',
overflow: 'hidden',
...rightSx,
}}
>
Expand Down

0 comments on commit 68b8464

Please sign in to comment.