Fix overflow issue in WelcomeScreen
Summary: Noticed that the welcome screen started bleeding in the sidebar when the screen is too small. Unlike the plugin container it lacked an overflow: hidden. Reviewed By: timur-valiev, aigoncharov Differential Revision: D32987160 fbshipit-source-id: be324247cdb4abfeec12c40624d65f9fa1e86eff
This commit is contained in:
committed by
Facebook GitHub Bot
parent
fa67c21def
commit
c1f6ca84b6
@@ -224,6 +224,7 @@ const outOfContentsContainer = (
|
|||||||
const MainContainer = styled(Layout.Container)({
|
const MainContainer = styled(Layout.Container)({
|
||||||
background: theme.backgroundWash,
|
background: theme.backgroundWash,
|
||||||
padding: `${theme.space.large}px ${theme.space.large}px ${theme.space.large}px 0`,
|
padding: `${theme.space.large}px ${theme.space.large}px ${theme.space.large}px 0`,
|
||||||
|
overflow: 'hidden',
|
||||||
});
|
});
|
||||||
|
|
||||||
const RootElement = styled.div({
|
const RootElement = styled.div({
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ export function WelcomeScreenStaticView() {
|
|||||||
center
|
center
|
||||||
style={{
|
style={{
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
|
overflow: 'hidden',
|
||||||
}}
|
}}
|
||||||
pad
|
pad
|
||||||
grow>
|
grow>
|
||||||
|
|||||||
Reference in New Issue
Block a user