Skip to content

Commit

Permalink
Fix command palette metrics (WordPress#53497)
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor authored Aug 10, 2023
1 parent 7a07273 commit c730c8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/commands/src/components/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
max-height: 368px; // Specific to not have commands overflow oddly.
overflow: auto;

& > [cmdk-list-sizer]:not(:empty) {
& [cmdk-list-sizer] > [cmdk-group] > [cmdk-group-items]:not(:empty) {
padding: 0 $grid-unit $grid-unit;
}
}
Expand All @@ -103,9 +103,9 @@
display: flex;
align-items: center;
justify-content: center;
height: $grid-unit-80;
white-space: pre-wrap;
color: $gray-900;
padding: $grid-unit-10 0 $grid-unit-40;
}

[cmdk-loading] {
Expand Down

0 comments on commit c730c8d

Please sign in to comment.