1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 21:34:13 +03:00

fixed button alignment on macOS

This commit is contained in:
Eugene Pankov 2018-01-04 21:20:42 +01:00
parent 9c257b0002
commit 692045ce77
2 changed files with 9 additions and 4 deletions

View File

@ -29,7 +29,7 @@ title-bar(
)
i.fa([class]='"fa fa-" + button.icon')
.drag-space(*ngIf='config.store.appearance.frame == "thin" && hostApp.platform != Platform.macOS')
.drag-space([class.persistent]='config.store.appearance.frame == "thin" && hostApp.platform != Platform.macOS')
.btn-group
button.btn.btn-secondary.btn-tab-bar(

View File

@ -55,15 +55,20 @@ $tab-border-radius: 4px;
}
&>.drag-space {
min-width: 100px;
flex: 1 0 25%;
min-width: 1px;
flex: 1 0 1%;
-webkit-app-region: drag;
&.persistent {
min-width: 100px;
flex: 1 0 25%;
}
}
&.inset {
padding-left: 85px;
}
window-controls {
margin-left: 10px;
}