-
Notifications
You must be signed in to change notification settings - Fork 975
move the nav controls to left in full screen mode - in macOS Fix #7872 #8514
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please look for something like |
@luixxiul How should i check, if screen is in full screen mode or not? |
@kumarrishav so instead of modifying less file, you need to modify some js file. More specifically |
a02c19d
to
008758f
Compare
@liunkae review? |
@@ -225,7 +225,7 @@ class Navigator extends ImmutableComponent { | |||
onDragOver={this.onDragOver} | |||
onDrop={this.onDrop} | |||
> | |||
<div className='backforward'> | |||
<div className={'backforward' + (isFullScreen() ? ' fullscreen' : '')}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use cx
syntax for class name, you can see example bellow. Thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed. I wasn't aware of this utility func. @NejcZdovc Thanks .
008758f
to
7a06897
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! Works for me. It even animates when you toggle fullscreen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice- works great 😄 Well done
Test plan
Description
git rebase -i
to squash commits (if needed).Resolves #7872
Test Plan: