Skip to content

Commit

Permalink
Merge pull request #22497 from storybookjs/chore/fix-css-inconsistency
Browse files Browse the repository at this point in the history
Maintenance: Fix css inconsistency in Button and Icon components
  • Loading branch information
yannbf authored and shilman committed May 12, 2023
1 parent 9ab1f3e commit dd6fdc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions code/ui/components/src/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ const ButtonWrapper = styled.button<{
position: 'relative',
textAlign: 'center',
textDecoration: 'none',
transition: 'all 150ms ease-out',
transform: 'translate3d(0,0,0)',
transitionProperty: 'background, box-shadow',
transitionDuration: '150ms',
transitionTimingFunction: 'ease-out',
verticalAlign: 'top',
whiteSpace: 'nowrap',
userSelect: 'none',
Expand Down
1 change: 0 additions & 1 deletion code/ui/components/src/icon/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { icons } from './icons';
const Svg = styled.svg`
display: inline-block;
shape-rendering: inherit;
transform: translate3d(0, 0, 0);
vertical-align: middle;
fill: currentColor;
Expand Down

0 comments on commit dd6fdc8

Please sign in to comment.