Skip to content

Commit

Permalink
回复页样式修改
Browse files Browse the repository at this point in the history
  • Loading branch information
lvzhenbo committed May 19, 2024
1 parent cc2d29b commit f93a170
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ import './theme/tailwind.css';

const isDark = window.matchMedia('(prefers-color-scheme: dark)').matches;

SafeArea.enable({
config: {
customColorsForSystemBars: true,
statusBarColor: isDark ? '#111111' : '#ffffff',
},
});
if (isPlatform('android') && isPlatform('hybrid')) {
SafeArea.enable({
config: {
customColorsForSystemBars: true,
statusBarColor: isDark ? '#111111' : '#ffffff',
},
});
}

SplashScreen.hide().then(async () => {
await SplashScreen.show({
Expand Down
2 changes: 1 addition & 1 deletion src/views/Thread/components/replyModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<IonList :inset="true">
<IonItem>
<IonLabel>
<Editor :editor="editor" />
<Editor :editor="editor" class="max-h-[calc(100dvh-10rem)]" />
</IonLabel>
</IonItem>
</IonList>
Expand Down

0 comments on commit f93a170

Please sign in to comment.