Skip to content

Commit e64cde3

Browse files
committed
chore: Style continue watching row to align with others
1 parent ee01ce0 commit e64cde3

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

src/screens/HomeScreen.tsx

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export function HomeScreen({ navigation }: DrawerScreenPropsType<'Home'>) {
130130
style={({ isFocused }) => [styles.continueCard, isFocused && styles.continueCardFocused]}
131131
>
132132
{() => (
133-
<View>
133+
<View style={styles.continueCardInner}>
134134
<Image source={{ uri: cover }} style={styles.continueCover} resizeMode="cover" />
135135
{pct > 0 && (
136136
<View style={styles.continueProgressBg}>
@@ -312,15 +312,24 @@ const styles = StyleSheet.create({
312312
},
313313
continueCard: {
314314
width: scaledPixels(180),
315-
marginRight: scaledPixels(12),
315+
marginHorizontal: scaledPixels(12),
316316
borderRadius: scaledPixels(8),
317-
overflow: 'hidden',
318-
borderWidth: 2,
317+
borderWidth: 3,
319318
borderColor: 'transparent',
320319
},
320+
continueCardInner: {
321+
borderRadius: scaledPixels(6),
322+
overflow: 'hidden',
323+
},
321324
continueCardFocused: {
322325
borderColor: colors.primary,
323-
transform: [{ scale: 1.05 }],
326+
transform: [{ scale: 1.08 }],
327+
zIndex: 10,
328+
shadowColor: colors.primary,
329+
shadowOffset: { width: 0, height: 0 },
330+
shadowOpacity: 0.6,
331+
shadowRadius: 15,
332+
elevation: 10,
324333
},
325334
continueCover: {
326335
width: '100%',

0 commit comments

Comments
 (0)