Skip to content

Commit fc1f881

Browse files
committed
fix: adjust header gradient in note view for smoother fade
1 parent d6775e7 commit fc1f881

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/mobile/v1/src/screens/ViewNote/ViewHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function ViewHeader({
8282
theme.isDark ? 'rgba(10, 10, 10, 0.05)' : 'rgba(250, 250, 250, 0.05)',
8383
theme.isDark ? 'rgba(0, 0, 0, 0)' : 'rgba(250, 250, 250, 0)',
8484
]}
85-
locations={[0, 0.35, 0.45, 0.53, 0.60, 0.66, 0.72, 0.77, 0.82, 0.87, 1]}
85+
locations={[0, 0.25, 0.40, 0.50, 0.58, 0.66, 0.72, 0.77, 0.82, 0.87, 1]}
8686
style={styles.gradient}
8787
/>
8888
<View style={styles.header}>
@@ -202,7 +202,7 @@ const styles = StyleSheet.create({
202202
left: 0,
203203
right: 0,
204204
zIndex: 100,
205-
paddingBottom: 35,
205+
paddingBottom: 10,
206206
},
207207
gradient: {
208208
position: 'absolute',

0 commit comments

Comments
 (0)