Skip to content

Commit 44b657f

Browse files
committed
fix: Adjust styles in SettOption component for better layout consistency
1 parent 3fa1d3c commit 44b657f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"Soundcloud",
1111
"Withs"
1212
],
13+
"typescript.preferences.autoImportFileExcludePatterns": ["react-native-reanimated/lib/typescript/*"],
1314
"files.autoSave": "onFocusChange",
1415
"files.exclude": {
1516
"**/assets/icons/src/*": true

src/components/Settings/SettOption.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ export function SettOption({
3535
>
3636
<View className='flex-row items-center justify-center' style={{ gap: 22, flexShrink: 1 }}>
3737
{Icon}
38-
<View className='p-2.5 px-0'>
38+
<View className='p-2.5 px-0' style={{ flexShrink: 1 }}>
3939
<SemiBold
4040
className='text-left text-zinc-800 dark:text-zinc-200'
41-
style={[{ fontSize: 12, flexShrink: 1, paddingBottom: 2 }, !title ? { opacity: 0.5 } : {}]}
41+
style={[{ fontSize: 12, paddingBottom: 2 }, !title ? { opacity: 0.5 } : {}]}
4242
numberOfLines={numberOfLines || 0}
4343
>
4444
{title || placeholder}

0 commit comments

Comments
 (0)