Skip to content

Commit e2c366f

Browse files
fix: sharpens radio input edges by replacing box-shadow trick with border property (#768)
1 parent 4415f9d commit e2c366f

File tree

1 file changed

+4
-4
lines changed
  • src/admin/components/forms/field-types/RadioGroup/RadioInput

1 file changed

+4
-4
lines changed

src/admin/components/forms/field-types/RadioGroup/RadioInput/index.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
border-radius: 50%;
2121

2222
&:before {
23-
content: ' ';
23+
content: " ";
2424
display: block;
2525
border-radius: 100%;
2626
background-color: var(--theme-elevation-800);
27-
width: 100%;
28-
height: 100%;
29-
box-shadow: inset 0 0 0 base(.1875) var(--theme-elevation-0);
27+
width: calc(100% - 10px);
28+
height: calc(100% - 10px);
29+
border: 5px solid var(--theme-elevation-0);
3030
opacity: 0;
3131
}
3232
}

0 commit comments

Comments
 (0)