Skip to content

Commit

Permalink
Command palette: Make wider (#91000)
Browse files Browse the repository at this point in the history
Making the command palette wider than it is taller feels more natural
for this kind of tool. Let it grow up to 640px or less depending on
the screen width.
  • Loading branch information
dsas committed May 22, 2024
1 parent ff69f1e commit 6ba6829
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/command-palette/src/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.commands-command-menu__overlay {
z-index: z-index("root", ".commands-commands-menu__overlay");
}

div.commands-command-menu {
width: min(100% - 32px, 640px);
max-width: 640px;
}

0 comments on commit 6ba6829

Please sign in to comment.