Skip to content

Commit

Permalink
refactor: Remove unnecessary knob bottom margin
Browse files Browse the repository at this point in the history
  • Loading branch information
rkunev committed Mar 15, 2024
1 parent 932db75 commit 0bfd2cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ColorPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,9 @@
/*
* "2.5%" adds distance from the top edge of the rotator to center the knob inside the gradient ring
* "auto" centers the knob horizontally inside the rotator plane
* the bottom value of 0 is added just to levarage the margin shorthand syntax
*/
margin: 2.5% auto 0;
margin-top: 2.5%;
margin-inline: auto;
background-color: #fff;
transition: transform 0.4s cubic-bezier(0.35, 0, 0.25, 1);
Expand Down

0 comments on commit 0bfd2cd

Please sign in to comment.