mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2026-04-23 00:18:15 -04:00
fix(ui): make settings tabs scrollable to prevent hiding (#238) @0x-la1n
* fix(ui): make settings tabs scrollable to prevent hiding * Update packages/fossflow-lib/src/components/SettingsDialog/SettingsDialog.tsx
This commit is contained in:
@@ -76,7 +76,14 @@ export const SettingsDialog = ({ iconPackManager }: SettingsDialogProps) => {
|
||||
</IconButton>
|
||||
</DialogTitle>
|
||||
<DialogContent dividers>
|
||||
<Tabs value={tabValue} onChange={handleTabChange} sx={{ borderBottom: 1, borderColor: 'divider' }}>
|
||||
<Tabs
|
||||
value={tabValue}
|
||||
onChange={handleTabChange}
|
||||
variant="scrollable"
|
||||
scrollButtons="auto"
|
||||
allowScrollButtonsMobile
|
||||
sx={{ borderBottom: 1, borderColor: 'divider' }}
|
||||
>
|
||||
<Tab label={t('settings.hotkeys.title')} />
|
||||
<Tab label={t('settings.pan.title')} />
|
||||
<Tab label="Zoom" />
|
||||
|
||||
Reference in New Issue
Block a user