newmanls / OnelineProton

An oneline userChrome.css theme for Firefox, which aims to keep the Proton experience

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Space at top for dragging window

Chemiseblanc opened this issue · comments

This may be specific to Firefox on Windows, but I've found that when the tab bar is full there isn't anywhere at the top to drag the window in order to move it, or to quickly switch between fullscreen and windowed modes.

Adding a small margin at the top of the window would fix this. I've found something like

:root[sizemode="maximized"] #TabsToolbar {
  margin-top: 1px;
}

#TabsToolbar {
  margin-top: 5px;
}

provides enough space so that finding the drag-able area isn't difficult in windowed mode and takes up minimal space while still being functional when fullscreen.

Nice approach! Added, thank you!
Actually, .titlebar-spacer had that function, but I removed that item in order to avoid the white space between tabs and window buttons.