Skip to content

Commit

Permalink
fix(elements): fix IconButton border
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed May 21, 2024
1 parent 4fef07a commit f55eb2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/elements/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ const StyledButton = styled.button<{
size: Size
}>`
align-items: center;
border: solid ${p => (p.isCompact ? 0 : 1)}px transparent;
border-style: solid;
border-width: ${p => (p.isCompact ? 0 : 1)}px;
display: flex;
justify-content: center;
padding: ${p => (p.isCompact ? 0 : PADDING[p.size])};
Expand Down

0 comments on commit f55eb2c

Please sign in to comment.