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:
Jozé Hernández
2026-03-01 06:56:00 -04:00
committed by GitHub
parent d8a1ae89fb
commit 42835fe0b7

View File

@@ -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" />