Skip to content

Commit

Permalink
fix(ui): SortButton - add margins only for interactive variation
Browse files Browse the repository at this point in the history
  • Loading branch information
vio committed Jan 11, 2024
1 parent 66ee269 commit 4915779
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/ui/src/components/sort-button/sort-button.module.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
.root {
--icon-dimension: 13px;
display: inline-block;
margin: calc(0px - var(--space-xxxsmall));
margin-right: calc(0px - 1px - var(--icon-dimension));
border-radius: var(--radius-small);
position: relative;
}
Expand Down Expand Up @@ -58,6 +56,11 @@
transform: translateY(-5px);
}

.interactive {
margin: calc(0px - var(--space-xxxsmall));
margin-right: calc(0px - 1px - var(--icon-dimension));
}

.interactive:hover,
.interactive:active,
.interactive:focus {
Expand Down

0 comments on commit 4915779

Please sign in to comment.