Merged in fix/SW-2204-check-icon-centering (pull request #1746)
fix(SW-2204): Fix Checkmark Alignment in RadioCard Component * fix(SW-2204): add wrapper to fix checkmark alignment * chore(SW-2204): update RadioCard check icon class naming Approved-by: Christian Andolf
This commit is contained in:
@@ -41,12 +41,9 @@ export default function RadioCard({
|
|||||||
onClick={onLabelClick}
|
onClick={onLabelClick}
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
>
|
>
|
||||||
<MaterialIcon
|
<div className={styles.selectedIcon}>
|
||||||
icon="check"
|
<MaterialIcon icon="check" size={22} color="Icon/Inverted" />
|
||||||
className={styles.selectedIcon}
|
</div>
|
||||||
size={22}
|
|
||||||
color="Icon/Inverted"
|
|
||||||
/>
|
|
||||||
{Icon ? (
|
{Icon ? (
|
||||||
<Icon
|
<Icon
|
||||||
className={styles.icon}
|
className={styles.icon}
|
||||||
|
|||||||
Reference in New Issue
Block a user