style: center and enlarge modals to overlay navbar
All checks were successful
Luggage List Build / build-web (push) Successful in 30s
Luggage List Build / build-android (push) Successful in 6m13s
Luggage List Build / release (push) Successful in 15s

This commit is contained in:
2026-04-18 13:34:42 +02:00
parent f34ffe39c0
commit ef7e0ba7a1
2 changed files with 10 additions and 6 deletions

View File

@@ -37,3 +37,4 @@ Improving & Fixing Bugs (V3)
- [x] Increased safe top inset to avoid status-bar overlap
- [x] Added check-up stats (correct/bad/pending) and persisted per snapshot
- [x] Extra UI polish pass (spacing, cards, hierarchy)
- [x] Centered and enlarged edit/check-up modals to fully overlay nav

View File

@@ -400,20 +400,23 @@ export const styles = StyleSheet.create({
modalBackdrop: {
flex: 1,
backgroundColor: 'rgba(2,6,23,0.72)',
justifyContent: 'flex-end',
justifyContent: 'center',
alignItems: 'center',
paddingHorizontal: 12,
},
modalKeyboardWrap: {
width: '100%',
alignItems: 'center',
},
modalCard: {
maxHeight: '87%',
width: '96%',
maxHeight: '92%',
backgroundColor: '#0f172a',
borderTopLeftRadius: 18,
borderTopRightRadius: 18,
borderRadius: 20,
borderWidth: 1,
borderColor: '#1e293b',
padding: 14,
gap: 8,
padding: 16,
gap: 10,
},
closeText: {
color: '#93c5fd',