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}
|
||||
label={item}
|
||||
{...a11yProps(idx)}
|
||||
sx={{
|
||||
"&.MuiButtonBase-root": {
|
||||
width: "fit-content !important",
|
||||
minWidth: "fit-content !important",
|
||||
},
|
||||
"&.MuiButtonBase-root:first-child": {
|
||||
marginLeft: "9px !important",
|
||||
},
|
||||
}}
|
||||
className={`
|
||||
text-[#495057] !p-1 !text-[14px] md:!text-[16px] !font-bold
|
||||
${isSm ? "!w-1/2 !m-0" : "!mr-2"}
|
||||
`}
|
||||
text-[#495057] !p-1 !text-[14px] md:!text-[16px] !font-bold
|
||||
${isSm ? "!w-1/2 !m-0" : "!mr-[38px]"}
|
||||
`}
|
||||
/>
|
||||
))}
|
||||
</TabsMUI>
|
||||
|
||||
Reference in New Issue
Block a user