fix: 🐛 Begränsa höjden på schemat (#495)

This commit is contained in:
Kajetan Kazimierczak 2021-09-30 01:01:52 +02:00 committed by GitHub
parent 6f3fa20825
commit 5c81ad3145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -122,8 +122,8 @@ export const Week = ({ child }: WeekProps) => {
}, [lessons])
return showSchema ? (
<TransitionView animation={'fadeInDown'}>
<TransitionView style={styles.view} animation={'fadeIn'}>
<TransitionView style={styles.view} animation={'fadeInDown'}>
<TransitionView style={styles.innerView} animation={'fadeIn'}>
<TabBar
selectedIndex={selectedIndex}
onSelect={(index) => setSelectedIndex(index)}
@ -157,6 +157,13 @@ export const Week = ({ child }: WeekProps) => {
const themedStyles = StyleService.create({
view: {
backgroundColor: 'background-basic-color-1',
maxHeight: '60%',
paddingBottom: 0,
margin: 0,
},
innerView: {
paddingBottom: 60,
margin: 0,
},
part: {
backgroundColor: 'transparent',