Skip to content

Commit

Permalink
🐛 Welcome: Remove vertical scroll bars during animation: fixes brave/…
Browse files Browse the repository at this point in the history
  • Loading branch information
imptrx committed Aug 2, 2019
1 parent ab716ad commit 5b1957d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions components/brave_welcome_ui/components/wrapper/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export const Content = styled<ContentProps, 'section'>('section')`
`

export const Page = styled<{}, 'div'>('div')`
position: absolute;
width: inherit;
height: inherit;
display: flex;
Expand Down
6 changes: 3 additions & 3 deletions components/brave_welcome_ui/containers/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ export class WelcomePage extends React.Component<Props, State> {
const { welcomeData, actions } = this.props
return (
<>
<BackgroundContainer>
<Background/>
</BackgroundContainer>
<Page id='welcomePage'>
<BackgroundContainer>
<Background/>
</BackgroundContainer>
<Panel>
<SlideContent>
<WelcomeBox index={1} currentScreen={this.currentScreen} onClick={this.onClickLetsGo} />
Expand Down
6 changes: 3 additions & 3 deletions components/brave_welcome_ui/stories/page/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ export default class WelcomePage extends React.PureComponent<Props, State> {
const { isDefaultSearchGoogle } = this.props
return (
<>
<BackgroundContainer>
<Background />
</BackgroundContainer>
<Page>
<BackgroundContainer>
<Background />
</BackgroundContainer>
<Panel>
<SlideContent>
<WelcomeBox index={1} currentScreen={currentScreen} onClick={this.onClickLetsGo} />
Expand Down

0 comments on commit 5b1957d

Please sign in to comment.