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:
commit
258e1a03b7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user