From 4fd85b4a2c877ba2e881145ead52e4dc04c80691 Mon Sep 17 00:00:00 2001
From: Vishnu Sreekumaran Nair <200557136@student.georgianc.on.ca>
Date: Wed, 2 Apr 2025 19:00:59 -0400
Subject: [PATCH] add minHeight to muiTab styles
---
.../Create/Components/Tabs/index.jsx | 31 +++++++++----------
src/Utils/Theme/globalTheme.js | 1 +
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/Pages/StatusPage/Create/Components/Tabs/index.jsx b/src/Pages/StatusPage/Create/Components/Tabs/index.jsx
index 0f2283159..da2da9acf 100644
--- a/src/Pages/StatusPage/Create/Components/Tabs/index.jsx
+++ b/src/Pages/StatusPage/Create/Components/Tabs/index.jsx
@@ -31,23 +31,22 @@ const Tabs = ({
borderBottom: `1px solid ${theme.palette.primary.lowContrast}`,
"& .MuiTabs-root": { height: "fit-content", minHeight: "0" },
}}
- >
-
- {
- setTab(TAB_LIST.indexOf(tab));
- }}
>
- {TAB_LIST.map((tab, idx) => {
- return (
-
- );
- })}
-
+ {
+ setTab(TAB_LIST.indexOf(tab));
+ }}
+ >
+ {TAB_LIST.map((tab, idx) => {
+ return (
+
+ );
+ })}
+
{tab === 0 ? (
({
color: theme.palette.tertiary.contrastText,
backgroundColor: theme.palette.primary.main,
height: '34px',
+ minHeight: '34px',
borderRadius: 0,
textTransform: "none",
minWidth: "fit-content",