Skip to content

Commit e7bb6dd

Browse files
senadirclaude
andcommitted
Make consistent padding for groups
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 518e39e commit e7bb6dd

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

‎packages/commands/src/components/style.scss‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,8 @@ $palette-header-height: 48px;
135135
border-top: $border-width solid $gray-300;
136136
}
137137

138-
// Ensures there is always padding bottom on the last group, when there are commands.
139-
&
140-
[cmdk-list-sizer] > [cmdk-group]:last-child
141-
[cmdk-group-items]:not(:empty) {
142-
padding-bottom: $grid-unit-10;
143-
}
144-
145138
& [cmdk-list-sizer] > [cmdk-group] > [cmdk-group-items]:not(:empty) {
146-
padding: 0 $grid-unit-10;
139+
padding: 0 $grid-unit-10 $grid-unit-05;
147140
}
148141

149142
[cmdk-group-heading] {

0 commit comments

Comments
 (0)