mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-01 04:12:58 +08:00
style(next): improve the window dragging functionality also for the vertical toolbar layout
This commit is contained in:
parent
b9c4d83223
commit
b6565c3b13
@ -895,13 +895,20 @@ 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)));
|
||||
}
|
||||
|
||||
body.layout-horizontal .tab-row-container,
|
||||
body.layout-vertical .tab-row-widget {
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
body.layout-horizontal .tab-row-container > * {
|
||||
body.layout-horizontal .tab-row-container > *,
|
||||
body.layout-vertical .tab-row-widget > * {
|
||||
-webkit-app-region: no-drag; /* Limit the drag area only for the parent element */
|
||||
}
|
||||
|
||||
|
||||
|
||||
body.layout-horizontal .tab-row-widget-container {
|
||||
margin-top: 0;
|
||||
position: relative;
|
||||
|
Loading…
x
Reference in New Issue
Block a user