Skip to content

Commit

Permalink
Change title bar !
Browse files Browse the repository at this point in the history
  • Loading branch information
xvw committed Dec 18, 2017
1 parent aca5b02 commit 9970d63
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions main.js
Expand Up @@ -15,6 +15,7 @@ function createWindow() {
frame: true,
resizable: true,
autoHideMenuBar: true,
titleBarStyle: 'hidden',

This comment has been minimized.

Copy link
@radmen

radmen Jan 5, 2018

Contributor

Much better! :D

This comment has been minimized.

Copy link
@xvw

xvw Jan 5, 2018

Author Owner

:) thanks !

icon: __dirname + '/icon.ico'
})
mainWindow.loadURL(`file://${ __dirname }/static/index.html`)
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "qian",
"version": "1.3.0",
"version": "1.3.1",
"description": "A small experience",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/View.elm
Expand Up @@ -34,7 +34,8 @@ global model =
in
div
[ Attr.class "inner-app" ]
[ header []
[ div [ Attr.class "menu-app" ] []
, header []
[ Breadcrumb.render currentPath
, HistoryButtons.render model.history
]
Expand Down
8 changes: 8 additions & 0 deletions static/css/default.css
Expand Up @@ -49,6 +49,14 @@ a {
flex-direction: column;
}

.menu-app {
height: 24px;
background-color: #181818;
-webkit-user-select: none;
-webkit-app-region: drag;
user-select: none;
}

header {
padding: 8px;
background-color: black;
Expand Down

0 comments on commit 9970d63

Please sign in to comment.