We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25cd078 commit fa16b37Copy full SHA for fa16b37
src/components/tabs/styled.js
@@ -16,15 +16,14 @@ export const StyledTabs = styled(Flex).attrs(props => ({
16
alignItems: "center",
17
padding: [0, 0.5],
18
flex: false,
19
+ border: props.noDefaultBorder && {
20
+ side: "bottom",
21
+ size: "1px",
22
+ type: "solid",
23
+ color: "borderSecondary",
24
+ },
25
...props,
-}))`
- border-bottom: 1px solid
- ${({ noDefaultBorder }) =>
- noDefaultBorder ? getColor(["transparent", "full"]) : getColor("borderSecondary")};
- box-sizing: border-box;
-
26
- padding: 0 2px;
27
-`
+}))``
28
29
export const StyledTab = styled(Flex)`
30
white-space: nowrap;
0 commit comments