diff --git a/app/renderer/components/navigation/navigator.js b/app/renderer/components/navigation/navigator.js index e5c093d5a02..c3d7b7bf6bd 100644 --- a/app/renderer/components/navigation/navigator.js +++ b/app/renderer/components/navigation/navigator.js @@ -155,26 +155,6 @@ class Navigator extends React.Component { ipc.off(messages.SHORTCUT_ACTIVE_FRAME_FORWARD, this.onForward) } - // BEM Level: navigator__menuBarAndNavigationBar__navigationBarWrapper - get navigationBarWrapper () { - return
- {this.topLevelStartButtons} - { - this.props.showNavigationBar - ? - : null - } - {this.topLevelEndButtons} -
- } - // BEM Level: navigator__menuBarAndNavigationBar__navigationBarWrapper__topLevelStartButtons get topLevelStartButtons () { return
: null } - {this.navigationBarWrapper} +
+ {this.topLevelStartButtons} + { + this.props.showNavigationBar + ? + : null + } + {this.topLevelEndButtons} +
{ this.props.isCaptionButton @@ -425,7 +420,7 @@ const styles = StyleSheet.create({ whiteSpace: 'nowrap' }, - navigationBarWrapper: { + navigator__menuBarAndNavigationBar__navigationBarWrapper: { boxSizing: 'border-box', display: 'flex', justifyContent: 'space-between',