Skip to content

Commit

Permalink
switched to 0.5rem of spacing between trigger and dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosammito committed Dec 19, 2023
1 parent 2c8ae32 commit 5d0c6cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/dropdown/Dropdown.style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,21 @@
&[data-position="left"] {
inset: 0 auto auto 0;
top: 50%;
transform: translateX(calc(-100% - 1rem)) translateY(-50%);
transform: translateX(calc(-100% - .5rem)) translateY(-50%);
}

&[data-position="right"] {
top: 50%;
right: 0;
transform: translateX(calc(100% + 1rem)) translateY(-50%);
transform: translateX(calc(100% + .5rem)) translateY(-50%);
}

&[data-position="bottom"] {
top: calc(100% + 1rem);
}

&[data-position="top"] {
bottom: calc(100% + 1rem);
bottom: calc(100% + .5rem);
}

&[data-align="start"] {
Expand Down

0 comments on commit 5d0c6cb

Please sign in to comment.