mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Optima: no gap dropdown
This commit is contained in:
@@ -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)' }} />}*/}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user