Skip to content

Commit 6b0a7b3

Browse files
committed
fix(components): course table header text overflow
1 parent 4ceb59f commit 6b0a7b3

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/app/(tabs)/_layout.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ export default function TabLayout() {
3131
headerLeft: headerLeft,
3232
headerTitleAlign: 'center',
3333
tabBarStyle: currentStyle?.schedule_background_style,
34-
headerStyle: currentStyle?.schedule_background_style,
34+
headerStyle: [
35+
currentStyle?.schedule_background_style,
36+
{ height: 120 },
37+
],
3538
}}
3639
/>
3740
);

src/constants/tabBar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export const tabConfig: SinglePageType[] = [
6161
name: 'setting',
6262
title: '其他',
6363
iconName: 'setting',
64+
headerTitle: () => <Text style={commonStyles.fontLarge}>其他</Text>,
6465
},
6566
// {
6667
// name: 'notification',

0 commit comments

Comments
 (0)