fix: fix checkbox and radio styles to be more robust when used within other components

This commit is contained in:
Randall Morey committed 2020-08-21 17:28:04 -04:00
1 parent 7c9cd26839
commit 1e1d2cd324
2 files changed
+4 -2

No files matched your search

@@ -2,6 +2,7 @@
@use '../../utilities/type';
.rose-form-checkbox {
@include type.type(m);
position: relative;
margin-bottom: sizing.rems(xs);
color: var(--ui-gray);
@@ -23,6 +23,7 @@ $radio-svg: (
$data-svg-prefix: 'data:image/svg+xml;utf-8,';
.rose-form-radio {
@include type.type(m);
position: relative;
margin-bottom: sizing.rems(xs);
color: var(--ui-gray);
@@ -45,8 +46,8 @@ $data-svg-prefix: 'data:image/svg+xml;utf-8,';
&::after {
position: absolute;
top: -#{sizing.rems(xxs)};
left: -#{sizing.rems(xxxs) + sizing.rems(xxxxs)};
top: -#{sizing.rems(xxxxs)};
left: -#{sizing.rems(xxxs)};
display: block;
width: sizing.rems(l);
height: sizing.rems(l);