add minHeight to muiTab styles

This commit is contained in:
Vishnu Sreekumaran Nair committed 2025-04-02 19:00:59 -04:00
1 parent b1b1684da1
commit 4fd85b4a2c
2 files changed
+16 -16

No files matched your search

@@ -31,23 +31,22 @@ const Tabs = ({
borderBottom: `1px solid ${theme.palette.primary.lowContrast}`,
"& .MuiTabs-root": { height: "fit-content", minHeight: "0" },
}}
>
<TabList
onChange={(_, tab) => {
setTab(TAB_LIST.indexOf(tab));
}}
>
{TAB_LIST.map((tab, idx) => {
return (
<Tab
key={tab}
label={TAB_LIST[idx]}
value={TAB_LIST[idx]}
/>
);
})}
</TabList>
<TabList
onChange={(_, tab) => {
setTab(TAB_LIST.indexOf(tab));
}}
>
{TAB_LIST.map((tab, idx) => {
return (
<Tab
key={tab}
label={TAB_LIST[idx]}
value={TAB_LIST[idx]}
/>
);
})}
</TabList>
</Box>
{tab === 0 ? (
<Settings
+1
View File
@@ -361,6 +361,7 @@ const baseTheme = (palette) => ({
color: theme.palette.tertiary.contrastText,
backgroundColor: theme.palette.primary.main,
height: '34px',
minHeight: '34px',
borderRadius: 0,
textTransform: "none",
minWidth: "fit-content",