Skip to content

Commit

Permalink
FEATURE: Use full width for result view
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebobo committed Sep 17, 2024
1 parent 7f2ed9f commit af027e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,3 @@
opacity: 1;
padding: 0.5rem;
}
.resultsWrap.split {
grid-template-columns: 1fr 1fr;
}
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,9 @@ const CommandBarDialog: React.FC<CommandBarDialogProps> = ({ onDrag, open, toggl
className={classnames(
styles.resultsWrap,
expanded.value && styles.expanded,
result.value && styles.split
)}
>
{expanded.value && <CommandList />}
{expanded.value && !result.value && <CommandList />}
{result.value && <CommandResultsView />}
</div>
<CommandBarFooter />
Expand Down

0 comments on commit af027e4

Please sign in to comment.