Skip to content

Commit 02d8e6e

Browse files
committed
fix: open hamburger dropdown to the right so it doesn't cover the CCB
The hamburger menu's dropdown was anchored with `right: 0; left: auto`, which aligned its right edge with the toggle's right edge and made it extend leftward. In the narrow-titlebar layout that shows the hamburger the dropdown would spill over the central control bar, overlapping the editor / design-mode buttons. Flip to `left: 0; right: auto` so the dropdown's left edge aligns with the toggle and opens into the empty titlebar area on the right. Submenu arrows already point right (►), so submenu cascade direction is unchanged.
1 parent 6c7e60d commit 02d8e6e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/styles/brackets_patterns_override.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ a:focus {
239239
display: none;
240240
min-width: 120px;
241241
text-align: left;
242-
right: 0;
243-
left: auto;
242+
left: 0;
243+
right: auto;
244244
}
245245
&.hamburger-open .hamburger-dropdown {
246246
display: block;

0 commit comments

Comments
 (0)