1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-04-20 22:22:05 +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
commit 258e1a03b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);