mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
style(next): improve the window dragging functionality also for the vertical toolbar layout
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user