Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance: Fix css inconsistency in Button and Icon components #22497

Merged
merged 1 commit into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions code/ui/components/src/Button/Button.tsx
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
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