Adjust height of radio (#7164)

This commit is contained in:
Eric Bailey
2024-12-18 14:25:54 -06:00
committed by GitHub
parent 674153c725
commit 62daf047ca
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -201,8 +201,8 @@ export function ItemRadio({selected}: {selected: boolean}) {
t.atoms.border_contrast_high, t.atoms.border_contrast_high,
{ {
borderWidth: 1, borderWidth: 1,
height: 24, height: 20,
width: 24, width: 20,
}, },
]}> ]}>
{selected ? ( {selected ? (
@@ -210,7 +210,7 @@ export function ItemRadio({selected}: {selected: boolean}) {
style={[ style={[
a.absolute, a.absolute,
a.rounded_full, a.rounded_full,
{height: 16, width: 16}, {height: 14, width: 14},
selected selected
? { ? {
backgroundColor: t.palette.primary_500, backgroundColor: t.palette.primary_500,
+4 -4
View File
@@ -315,8 +315,8 @@ export function ItemRadio({selected}: {selected: boolean}) {
t.atoms.border_contrast_high, t.atoms.border_contrast_high,
{ {
borderWidth: 1, borderWidth: 1,
height: 24, height: 20,
width: 24, width: 20,
}, },
]}> ]}>
{selected ? ( {selected ? (
@@ -324,7 +324,7 @@ export function ItemRadio({selected}: {selected: boolean}) {
style={[ style={[
a.absolute, a.absolute,
a.rounded_full, a.rounded_full,
{height: 16, width: 16}, {height: 14, width: 14},
selected selected
? { ? {
backgroundColor: t.palette.primary_500, backgroundColor: t.palette.primary_500,
@@ -343,7 +343,7 @@ export function LabelText({children}: {children: React.ReactNode}) {
<Text <Text
style={[ style={[
a.font_bold, a.font_bold,
a.pt_lg, a.pt_md,
a.pb_sm, a.pb_sm,
t.atoms.text_contrast_low, t.atoms.text_contrast_low,
{ {