1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-07-31 03:30:15 +02:00

Merge pull request #461 from loo41/features/radio-center

fix(radio): fix radio before element center
This commit is contained in:
Igor Guastalla
2021-05-16 15:12:52 -03:00
committed by GitHub

View File

@@ -31,13 +31,15 @@
& + span {
position: relative;
display: inline-flex;
align-items: center;
cursor: $cursor-click-url, pointer;
}
&:checked + span::before {
position: absolute;
top: -2px;
left: -20px;
margin-top: -15px;
content: "";
@include pixelize(2px, $radio, $colors);