Skip to content

Commit af027e4

Browse files
committed
FEATURE: Use full width for result view
1 parent 7f2ed9f commit af027e4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

packages/commandbar/src/components/CommandBarDialog/CommandBarDialog.module.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,3 @@
6868
opacity: 1;
6969
padding: 0.5rem;
7070
}
71-
.resultsWrap.split {
72-
grid-template-columns: 1fr 1fr;
73-
}

packages/commandbar/src/components/CommandBarDialog/CommandBarDialog.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,9 @@ const CommandBarDialog: React.FC<CommandBarDialogProps> = ({ onDrag, open, toggl
128128
className={classnames(
129129
styles.resultsWrap,
130130
expanded.value && styles.expanded,
131-
result.value && styles.split
132131
)}
133132
>
134-
{expanded.value && <CommandList />}
133+
{expanded.value && !result.value && <CommandList />}
135134
{result.value && <CommandResultsView />}
136135
</div>
137136
<CommandBarFooter />

0 commit comments

Comments
 (0)