change space between button of tabs
This commit is contained in:
+12
-3
@@ -25,10 +25,19 @@ function Tabs({ value, handleChange, listTab, isSm, style }) {
|
|||||||
key={idx}
|
key={idx}
|
||||||
label={item}
|
label={item}
|
||||||
{...a11yProps(idx)}
|
{...a11yProps(idx)}
|
||||||
|
sx={{
|
||||||
|
"&.MuiButtonBase-root": {
|
||||||
|
width: "fit-content !important",
|
||||||
|
minWidth: "fit-content !important",
|
||||||
|
},
|
||||||
|
"&.MuiButtonBase-root:first-child": {
|
||||||
|
marginLeft: "9px !important",
|
||||||
|
},
|
||||||
|
}}
|
||||||
className={`
|
className={`
|
||||||
text-[#495057] !p-1 !text-[14px] md:!text-[16px] !font-bold
|
text-[#495057] !p-1 !text-[14px] md:!text-[16px] !font-bold
|
||||||
${isSm ? "!w-1/2 !m-0" : "!mr-2"}
|
${isSm ? "!w-1/2 !m-0" : "!mr-[38px]"}
|
||||||
`}
|
`}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</TabsMUI>
|
</TabsMUI>
|
||||||
|
|||||||
Reference in New Issue
Block a user