From c730c8ddbdb8a1a6430049cf8e1965536e6fb8e2 Mon Sep 17 00:00:00 2001 From: Rich Tabor Date: Thu, 10 Aug 2023 18:00:32 -0400 Subject: [PATCH] Fix command palette metrics (#53497) --- packages/commands/src/components/style.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/commands/src/components/style.scss b/packages/commands/src/components/style.scss index 9bb0b33d8aaf3c..16db48bac44683 100644 --- a/packages/commands/src/components/style.scss +++ b/packages/commands/src/components/style.scss @@ -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; } } @@ -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] {