feat: enhance layout with safe area insets and improve table screen structure

This commit is contained in:
2025-12-21 00:20:20 +01:00
parent 65d61a0359
commit e5fdc0c54f
3 changed files with 84 additions and 40 deletions

View File

@@ -2,9 +2,9 @@ import { StyleSheet, View } from 'react-native';
import { LinearGradient } from 'expo-linear-gradient';
import { colors } from '../theme';
export default function TableBackground({ children }) {
export default function TableBackground({ children, style }) {
return (
<View style={styles.wrapper}>
<View style={[styles.wrapper, style]}>
<LinearGradient
colors={[colors.tableEdge, '#3e2a10']}
start={{ x: 0, y: 0 }}
@@ -27,7 +27,7 @@ export default function TableBackground({ children }) {
const styles = StyleSheet.create({
wrapper: {
flex: 1,
width: '100%',
padding: 12
},
edge: {