File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff 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%' ,
You can’t perform that action at this time.
0 commit comments