Skip to content

Commit

Permalink
Fixes brave/brave-browser#10299 - Keeps dashboard tooltip inside sett…
Browse files Browse the repository at this point in the history
…ings window [NTP]
  • Loading branch information
ryanml committed Oct 4, 2020
1 parent 003bc05 commit b384c8c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions components/brave_new_tab_ui/containers/newTab/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,12 @@ export default class Settings extends React.PureComponent<Props, State> {

return showSettingsMenu
? (
<SettingsWrapper
textDirection={textDirection}
title={getLocale('dashboardSettingsTitle')}
>
<SettingsMenu innerRef={this.settingsMenuRef} textDirection={textDirection}>
<SettingsWrapper textDirection={textDirection}>
<SettingsMenu
innerRef={this.settingsMenuRef}
textDirection={textDirection}
title={getLocale('dashboardSettingsTitle')}
>
<SettingsTitle id='settingsTitle'>
<h1>{getLocale('dashboardSettingsTitle')}</h1>
<SettingsCloseIcon onClick={this.props.onClickOutside}>
Expand Down

0 comments on commit b384c8c

Please sign in to comment.