Fixed window dragging for main menu
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
background-color: transparent; /* Reverted to original */
|
||||
/* cursor: move; */ /* Removed, should be handled by drag region or default */
|
||||
-webkit-app-region: drag; /* Ensure the header is draggable */
|
||||
/* cursor: move; */ /* Let the system handle cursor during drag operations */
|
||||
}
|
||||
|
||||
.tabs-container {
|
||||
@@ -64,6 +65,16 @@
|
||||
color: rgba(205, 214, 244, 0.8);
|
||||
}
|
||||
|
||||
/* Dedicated drag area */
|
||||
.drag-area {
|
||||
flex: 1; /* Take up remaining space */
|
||||
height: 100%;
|
||||
min-width: 50px; /* Ensure there's always some draggable space */
|
||||
-webkit-app-region: drag; /* Explicitly set as draggable */
|
||||
/* cursor: move; */ /* Let the system handle cursor during drag operations */
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Window control buttons */
|
||||
.window-controls {
|
||||
-webkit-app-region: no-drag; /* Override drag region for buttons */
|
||||
|
||||
Reference in New Issue
Block a user