Skip to content

Commit

Permalink
Optima: no gap dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Dec 20, 2024
1 parent 0f33ae1 commit 26df5bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/apps/chat/components/layout-bar/useLLMDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function LLMDropdown(props: {
{/* </ListItemButton>*/}
{/*)}*/}

<ListItemButton key='menu-llms' onClick={optimaOpenModels}>
<ListItemButton key='menu-llms' onClick={optimaOpenModels} sx={{ backgroundColor: 'background.surface' }}>
<ListItemDecorator><BuildCircleIcon color='success' /></ListItemDecorator>
<Box sx={{ flexGrow: 1, display: 'flex', justifyContent: 'space-between', gap: 1 }}>
Models
Expand Down
2 changes: 1 addition & 1 deletion src/common/layout/optima/bar/OptimaBarDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function OptimaBarDropdown<TValue extends string>(props: {
</Box>}

{/* Appender */}
{!!props.appendOption && Object.keys(props.items).length >= 1 && <ListDivider sx={{ mt: 0 }} />}
{!!props.appendOption && Object.keys(props.items).length >= 1 && <ListDivider sx={{ my: 0 }} />}
{props.appendOption}
{/*{!!props.appendOption && <Box sx={{ height: 'var(--ListDivider-gap)' }} />}*/}

Expand Down

0 comments on commit 26df5bc

Please sign in to comment.