Skip to content

Commit

Permalink
Merge pull request #4155 from relative-ci/fix-sort-button
Browse files Browse the repository at this point in the history
fix(ui): SortButton - add margins only for interactive variation
  • Loading branch information
vio committed Jan 11, 2024
2 parents 66ee269 + 4915779 commit 1d50806
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 1d50806

Please sign in to comment.