Use similar code for window drag space in all stylesheets part2

This commit is contained in:
MrOtherGuy
2019-02-08 10:47:26 +02:00
parent eabff2de11
commit feba8a6403
4 changed files with 30 additions and 10 deletions

View File

@@ -32,7 +32,8 @@ have menubar permanently enabled and want it on top
-moz-appearance: none !important;
}
:root[tabsintitlebar="true"] #nav-bar{
/* Space to drag the window on both sides of navbar */
:root[tabsintitlebar="true"]:not([inFullscreen]) #nav-bar{
padding-right: calc(var(--uc-window-control-width) + var(--window-drag-space-width,0px));
padding-left: var(--window-drag-space-width,0px)
}