Skip to content

Commit

Permalink
Fixes Radio Button top position
Browse files Browse the repository at this point in the history
  • Loading branch information
tareqlol committed Sep 28, 2023
1 parent 25808b5 commit 8c60a12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-pumas-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/circuit-ui': patch
---

Fixes Radio Button top position
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

.label::before {
position: absolute;
top: calc(var(--cui-typography-body-one-line-height) / 2);
top: 50%;
left: 0;
box-sizing: border-box;
display: block;
Expand All @@ -26,7 +26,7 @@

.label::after {
position: absolute;
top: calc(var(--cui-typography-body-one-line-height) / 2);
top: 50%;
left: var(--cui-spacings-bit);
box-sizing: border-box;
display: block;
Expand Down

0 comments on commit 8c60a12

Please sign in to comment.