fix: fixed spacing issue in tabs

pull/107/head
Samuel Rowe 3 years ago
parent 7fc85ee625
commit 1302254bcf

@ -24,6 +24,7 @@ const Root = styled("div")<IRootProps>(({ hidden, active }) => ({
fontWeight: 500, fontWeight: 500,
whiteSpace: "nowrap", whiteSpace: "nowrap",
borderBottomWidth: 2, borderBottomWidth: 2,
cursor: "pointer",
...(active ...(active
? { color: "#4f46e5", borderColor: "#6366f1" } ? { color: "#4f46e5", borderColor: "#6366f1" }

@ -21,6 +21,7 @@ const Root = styled("div")`
const Nav = styled("nav")` const Nav = styled("nav")`
display: flex; display: flex;
flex-direction: row; flex-direction: row;
column-gap: ${({ theme }) => theme.spacing(3)};
margin-bottom: -1px; margin-bottom: -1px;
`; `;

Loading…
Cancel
Save