fix: 🐛 Begränsa höjden på schemat (#495)
This commit is contained in:
parent
6f3fa20825
commit
5c81ad3145
|
@ -122,8 +122,8 @@ export const Week = ({ child }: WeekProps) => {
|
||||||
}, [lessons])
|
}, [lessons])
|
||||||
|
|
||||||
return showSchema ? (
|
return showSchema ? (
|
||||||
<TransitionView animation={'fadeInDown'}>
|
<TransitionView style={styles.view} animation={'fadeInDown'}>
|
||||||
<TransitionView style={styles.view} animation={'fadeIn'}>
|
<TransitionView style={styles.innerView} animation={'fadeIn'}>
|
||||||
<TabBar
|
<TabBar
|
||||||
selectedIndex={selectedIndex}
|
selectedIndex={selectedIndex}
|
||||||
onSelect={(index) => setSelectedIndex(index)}
|
onSelect={(index) => setSelectedIndex(index)}
|
||||||
|
@ -157,6 +157,13 @@ export const Week = ({ child }: WeekProps) => {
|
||||||
const themedStyles = StyleService.create({
|
const themedStyles = StyleService.create({
|
||||||
view: {
|
view: {
|
||||||
backgroundColor: 'background-basic-color-1',
|
backgroundColor: 'background-basic-color-1',
|
||||||
|
maxHeight: '60%',
|
||||||
|
paddingBottom: 0,
|
||||||
|
margin: 0,
|
||||||
|
},
|
||||||
|
innerView: {
|
||||||
|
paddingBottom: 60,
|
||||||
|
margin: 0,
|
||||||
},
|
},
|
||||||
part: {
|
part: {
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
|
|
Loading…
Reference in New Issue