fix: 🐛 Week component height and cap text
This commit is contained in:
parent
7df15d36b1
commit
9874dda30e
|
@ -70,7 +70,12 @@ const LessonList = ({ lessons, header, lunch }: LessonListProps) => {
|
|||
>{`${timeStart.slice(0, 5)}-${timeEnd.slice(0, 5)} ${
|
||||
location === '' ? '' : '(' + location + ')'
|
||||
} `}</Text>
|
||||
<Text style={styles.lessonDescription} maxFontSizeMultiplier={1}>
|
||||
<Text
|
||||
style={styles.lessonDescription}
|
||||
maxFontSizeMultiplier={1}
|
||||
numberOfLines={2}
|
||||
ellipsizeMode="tail"
|
||||
>
|
||||
{code?.toUpperCase() === 'LUNCH' ? lunch?.description : teacher}
|
||||
</Text>
|
||||
</View>
|
||||
|
@ -178,7 +183,7 @@ const themedStyles = StyleService.create({
|
|||
padding: 0,
|
||||
},
|
||||
item: {
|
||||
height: 55,
|
||||
height: 90,
|
||||
backgroundColor: 'background-basic-color-2',
|
||||
paddingHorizontal: 0,
|
||||
borderRadius: 2,
|
||||
|
|
|
@ -1234,7 +1234,7 @@ export const timetable = (child: Skola24Child): TimetableEntry[] => {
|
|||
category: 'Moderna språk, språkval',
|
||||
blockName: '',
|
||||
dayOfWeek: 2,
|
||||
location: '302,Fjärr',
|
||||
location: '302,Fjärr asd asdasd asdad aasdds',
|
||||
teacher: 'DNi',
|
||||
timeEnd: '09:50:00',
|
||||
timeStart: '09:05:00',
|
||||
|
|
Loading…
Reference in New Issue