Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit c1f6ca8

Browse files
mweststratefacebook-github-bot
authored andcommitted
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
1 parent fa67c21 commit c1f6ca8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

desktop/flipper-ui-core/src/sandy-chrome/SandyApp.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ const outOfContentsContainer = (
224224
const MainContainer = styled(Layout.Container)({
225225
background: theme.backgroundWash,
226226
padding: `${theme.space.large}px ${theme.space.large}px ${theme.space.large}px 0`,
227+
overflow: 'hidden',
227228
});
228229

229230
const RootElement = styled.div({

desktop/flipper-ui-core/src/sandy-chrome/WelcomeScreen.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export function WelcomeScreenStaticView() {
129129
center
130130
style={{
131131
justifyContent: 'center',
132+
overflow: 'hidden',
132133
}}
133134
pad
134135
grow>

0 commit comments

Comments
 (0)