Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Added border around window (only affects Windows when frameless).
Browse files Browse the repository at this point in the history
  • Loading branch information
bsclifton committed Sep 13, 2016
1 parent 48d73bf commit 7d3b488
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion js/components/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,8 @@ class Main extends ImmutableComponent {

return <div id='window'
className={cx({
isFullScreen: activeFrame && activeFrame.get('isFullScreen')
isFullScreen: activeFrame && activeFrame.get('isFullScreen'),
frameless: customTitlebarEnabled
})}
ref={(node) => { this.mainWindow = node }}
onMouseDown={this.onMouseDown}
Expand Down
5 changes: 4 additions & 1 deletion less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@
}

// Style adjustments needed for slim titlebar to work properly
.platform--win32 div#window.frameless {
border: 1px solid #000;
box-sizing: border-box;
}
.navbarCaptionButtonContainer {
display: flex;
border-bottom: 1px solid #aaaaaa;
}

.navbarMenubarFlexContainer {
display: flex;
flex: 1;
Expand Down

0 comments on commit 7d3b488

Please sign in to comment.