mirror of
https://github.com/rowyio/rowy.git
synced 2026-02-24 04:01:17 +01:00
multiselect: fix spacing & use custom radio & checkbox icons
This commit is contained in:
@@ -10,6 +10,7 @@ export default function CheckboxIcon() {
|
||||
height: toRem(18),
|
||||
margin: toRem((24 - 18) / 2),
|
||||
borderRadius: 1,
|
||||
display: "flex",
|
||||
|
||||
position: "relative",
|
||||
|
||||
@@ -46,7 +47,7 @@ export default function CheckboxIcon() {
|
||||
boxShadow: 1,
|
||||
},
|
||||
|
||||
".Mui-checked &": {
|
||||
".Mui-checked &, [aria-selected='true'] &": {
|
||||
backgroundColor: "currentColor",
|
||||
borderColor: "currentColor",
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ export default function CheckboxIndeterminateIcon() {
|
||||
height: toRem(18),
|
||||
margin: toRem((24 - 18) / 2),
|
||||
borderRadius: 1,
|
||||
display: "flex",
|
||||
|
||||
position: "relative",
|
||||
|
||||
@@ -46,7 +47,7 @@ export default function CheckboxIndeterminateIcon() {
|
||||
boxShadow: 1,
|
||||
},
|
||||
|
||||
".Mui-checked &": {
|
||||
".Mui-checked &, [aria-selected='true'] &": {
|
||||
backgroundColor: "currentColor",
|
||||
borderColor: "currentColor",
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ export default function RadioIcon() {
|
||||
height: toRem(20),
|
||||
margin: toRem((24 - 20) / 2),
|
||||
borderRadius: "50%",
|
||||
display: "flex",
|
||||
|
||||
backgroundColor: "transparent",
|
||||
border: "1px solid",
|
||||
@@ -37,7 +38,7 @@ export default function RadioIcon() {
|
||||
}),
|
||||
},
|
||||
|
||||
".Mui-checked &": {
|
||||
".Mui-checked &, [aria-selected='true'] &": {
|
||||
backgroundColor: "currentColor",
|
||||
borderColor: "currentColor",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user