Fixing css issue with updater's alert

This commit is contained in:
vdv committed 2023-04-04 15:03:44 +02:00
1 parent f5e9657842
commit 854a9d701a
2 files changed
+14 -3

No files matched your search

@@ -1,3 +1,12 @@
.mobile {
position: fixed;
z-index: 1;
padding-top: 20px;
}
.web {
position: fixed;
z-index: 1;
left: 40px;
padding-top: 20px;
}
+5 -3
View File
@@ -52,9 +52,11 @@ const Updater: Component<Props> = (props) => {
</div>
</Show>
<Show when={window.Capacitor.platform === 'web'}>
<Alert severity='warning' class={style.mobile}>
Please reload this page to update the application.
</Alert>
<div class={style.web}>
<Alert severity='warning' class={style.mobile}>
Please reload this page to update the application.
</Alert>
</div>
</Show>
</Show>
</>