always calc rem for border-radius
This commit is contained in:
parent
7be25cf921
commit
c89d11b621
@ -4,7 +4,7 @@
|
||||
:root {
|
||||
--border-checked: ~boxes.border.checked;
|
||||
--border-unchecked: ~boxes.border.unchecked;
|
||||
--border-radius: ~boxes.borderRadius;
|
||||
--border-radius: remCalc(~boxes.borderRadius);
|
||||
--bottom-shaddow: ~boxes.bottomShaddow;
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
:root {
|
||||
--border-unchecked: ~boxes.border.unchecked;
|
||||
--border-radius: ~boxes.borderRadius;
|
||||
--border-radius: remCalc(~boxes.borderRadius);
|
||||
--bottom-shaddow: ~boxes.bottomShaddow;
|
||||
}
|
||||
|
||||
|
@ -11,14 +11,14 @@
|
||||
--background-confirmed: ~colors.confirmation;
|
||||
--border-confirmed: ~boxes.border.confirmed;
|
||||
--border-unchecked: ~boxes.border.unchecked;
|
||||
--border-radius: ~boxes.borderRadius;
|
||||
--border-radius: remCalc(~boxes.borderRadius);
|
||||
--bottom-shaddow: ~boxes.bottomShaddow;
|
||||
}
|
||||
|
||||
.toggle {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
color: #464646;
|
||||
border-radius: 4px;
|
||||
border-radius: var(--border-radius);
|
||||
width: 5rem;
|
||||
height: 2.5rem;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user