mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:15:26 +08:00
style(next): improve the window dragging functionality for the horizontal toolbar layout
This commit is contained in:
parent
66cebf4ebf
commit
b9c4d83223
@ -895,6 +895,11 @@ body.layout-vertical.electron.platform-darwin .tab-row-container {
|
||||
|
||||
body.layout-horizontal .tab-row-container {
|
||||
padding-top: calc((var(--tab-bar-height) - var(--tab-height)));
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
body.layout-horizontal .tab-row-container > * {
|
||||
-webkit-app-region: no-drag; /* Limit the drag area only for the parent element */
|
||||
}
|
||||
|
||||
body.layout-horizontal .tab-row-widget-container {
|
||||
|
Loading…
x
Reference in New Issue
Block a user