Skip to content

Commit 075c251

Browse files
committed
fix: command dialog padding
1 parent 1878371 commit 075c251

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/components/command/Command.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const ExampleCommand = () => {
2121
return (
2222
<CommandDialog open={true}>
2323
<CommandInput placeholder="Type a command or search..." clearable />
24+
<CommandSeparator />
2425
<CommandList>
2526
<CommandEmpty>No results found.</CommandEmpty>
2627
<CommandGroup heading="Suggestions">

src/components/command/Command.style.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
flex-direction: column;
1212
overflow: hidden;
1313
background: variables.$primary;
14-
padding: variables.$xxs;
14+
padding: variables.$xs;
1515

1616
& {
1717
@include box.box(variables.$primary, variables.$primary, variables.$primary);
@@ -102,7 +102,7 @@
102102
outline: none;
103103
color: helpers.color(variables.$white, variables.$hierarchySecondary);
104104
border-radius: variables.$borderRadius - variables.$xxs;
105-
padding: variables.$xxs variables.$xxs variables.$xxs variables.$lg;
105+
padding: variables.$xxs variables.$xxs variables.$xxs variables.$sm;
106106
gap: variables.$xs;
107107
text-transform: none;
108108

@@ -127,7 +127,7 @@
127127

128128
&__separator {
129129
height: 1px;
130-
margin: variables.$xs;
130+
margin: variables.$xxs 0;
131131
background: helpers.backgroundColor(variables.$white);
132132
}
133133

0 commit comments

Comments
 (0)