Skip to content

Commit

Permalink
fix: user agent border in tabs: overrides ua style (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkilgore-eightfold authored Mar 30, 2022
1 parent 2a14434 commit 2d13c47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/components/Tabs/tabs.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
padding: $space-s $space-m;
color: $color-secondary-grey;
background-color: $card-background-color;
border: none;
align-items: center;
justify-content: center;
position: relative;
Expand Down
18 changes: 9 additions & 9 deletions src/components/Tooltip/Tooltip.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ const Wrapper: FC = ({ children }) => (
);

export const Base = () => (
<div style={{ maxWidth: '60%', margin: 'auto' }}>
<div style={{ margin: 'auto', maxWidth: '60%', marginTop: '50px' }}>
<Wrapper>
<Tooltip content={'Light tooltip'}>
<PrimaryButton
ariaLabel="Light bottom"
onClick={_alertClicked}
size={ButtonSize.Large}
size={ButtonSize.Medium}
text="Light bottom"
/>
</Tooltip>
<Tooltip content={'Dark tooltip'} theme={TooltipTheme.dark}>
<PrimaryButton
ariaLabel="Dark bottom"
onClick={_alertClicked}
size={ButtonSize.Large}
size={ButtonSize.Medium}
text="Dark bottom"
/>
</Tooltip>
Expand All @@ -44,7 +44,7 @@ export const Base = () => (
<PrimaryButton
ariaLabel="Light top"
onClick={_alertClicked}
size={ButtonSize.Large}
size={ButtonSize.Medium}
text="Light top"
/>
</Tooltip>
Expand All @@ -56,7 +56,7 @@ export const Base = () => (
<PrimaryButton
ariaLabel="Dark top"
onClick={_alertClicked}
size={ButtonSize.Large}
size={ButtonSize.Medium}
text="Dark top"
/>
</Tooltip>
Expand All @@ -66,7 +66,7 @@ export const Base = () => (
<PrimaryButton
ariaLabel="Light right"
onClick={_alertClicked}
size={ButtonSize.Large}
size={ButtonSize.Medium}
text="Light right"
/>
</Tooltip>
Expand All @@ -78,7 +78,7 @@ export const Base = () => (
<PrimaryButton
ariaLabel="Dark right"
onClick={_alertClicked}
size={ButtonSize.Large}
size={ButtonSize.Medium}
text="Dark right"
/>
</Tooltip>
Expand All @@ -91,7 +91,7 @@ export const Base = () => (
<PrimaryButton
ariaLabel="Light left"
onClick={_alertClicked}
size={ButtonSize.Large}
size={ButtonSize.Medium}
text="Light left"
/>
</Tooltip>
Expand All @@ -105,7 +105,7 @@ export const Base = () => (
<PrimaryButton
ariaLabel="Dark left"
onClick={_alertClicked}
size={ButtonSize.Large}
size={ButtonSize.Medium}
text="Dark left"
/>
</Tooltip>
Expand Down

0 comments on commit 2d13c47

Please sign in to comment.