Optima: no gap dropdown

This commit is contained in:
Enrico Ros
2024-12-20 01:43:34 -08:00
parent 0f33ae1a8d
commit 26df5bc889
2 changed files with 2 additions and 2 deletions
@@ -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
@@ -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)' }} />}*/}