Skip to content

Commit 0596680

Browse files
author
Tajudeen
committed
Fix Windows menubar click handling by ensuring titlebar containers are above drag region
- Add position: relative and z-index: 1 to .titlebar-left, .titlebar-center, and .titlebar-right - This creates a proper stacking context so menubar (z-index: 2500) renders above drag region - Fixes issue where drag region was intercepting clicks before they reached menubar buttons - CSS-only change, no breaking changes expected
1 parent fad2f42 commit 0596680

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/vs/workbench/browser/parts/titlebar/media/titlebarpart.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@
7676
display: flex;
7777
height: 100%;
7878
align-items: center;
79+
position: relative;
80+
z-index: 1;
7981
}
8082

8183
.monaco-workbench .part.titlebar > .titlebar-container.has-center > .titlebar-left {

0 commit comments

Comments
 (0)