Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitskvmdam committed Nov 10, 2021
1 parent 3a6c014 commit 715666c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/button/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ const IconContainer = createStyledComponent<'span', IconContainerProps>(
* button-base is responsible for this.
* */
fill: isLoading ? 'transparent' : undefined,
marginLeft: isRight ? undefined : '0.5rem',
marginRight: isRight ? '0.5rem' : undefined,
marginLeft: isRight ? '0.5rem' : undefined,
marginRight: isRight ? undefined : '0.5rem',
transition: '0.130s',
...getDimProperties(),
...getThemeCSSObject(csx.iconContainer, theme),
Expand Down
2 changes: 2 additions & 0 deletions src/toggle/toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export type ToggleIconProps = {

const useStyles = createStyle((theme) => ({
svg: (props: ToggleProps) => ({
height: '100%',
transition: '0.23s',
width: '100%',
...getThemeCSSObject(props.csx && props.csx.root, theme)
}),
svgCircle: (props: ToggleProps) => ({
Expand Down

0 comments on commit 715666c

Please sign in to comment.