mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-10 08:23:59 +02:00
fix(radio): fix radio before element center
This commit is contained in:
@@ -31,13 +31,15 @@
|
|||||||
|
|
||||||
& + span {
|
& + span {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
cursor: $cursor-click-url, pointer;
|
cursor: $cursor-click-url, pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:checked + span::before {
|
&:checked + span::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -2px;
|
|
||||||
left: -20px;
|
left: -20px;
|
||||||
|
margin-top: -15px;
|
||||||
content: "";
|
content: "";
|
||||||
|
|
||||||
@include pixelize(2px, $radio, $colors);
|
@include pixelize(2px, $radio, $colors);
|
||||||
|
Reference in New Issue
Block a user