fix height on safari
This commit is contained in:
parent
a838b8cb31
commit
defe1522c0
3 changed files with 9 additions and 6 deletions
|
@ -16,7 +16,7 @@
|
|||
const { verticalFileView, elevationProfile, bottomPanelSize, rightPanelSize } = settings;
|
||||
</script>
|
||||
|
||||
<div class="fixed flex flex-row w-screen h-dvh">
|
||||
<div class="fixed flex flex-row w-screen h-screen h-dvh">
|
||||
<div class="flex flex-col grow h-full min-w-0">
|
||||
<div class="grow relative">
|
||||
<Menu />
|
||||
|
|
|
@ -40,10 +40,14 @@
|
|||
import { get } from 'svelte/store';
|
||||
import { DateFormatter } from '@internationalized/date';
|
||||
|
||||
const df = new DateFormatter($locale ?? 'en', {
|
||||
dateStyle: 'medium',
|
||||
timeStyle: 'medium'
|
||||
});
|
||||
let df: DateFormatter;
|
||||
|
||||
$: if ($locale) {
|
||||
df = new DateFormatter($locale, {
|
||||
dateStyle: 'medium',
|
||||
timeStyle: 'medium'
|
||||
});
|
||||
}
|
||||
|
||||
let canvas: HTMLCanvasElement;
|
||||
let overlay: HTMLCanvasElement;
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
Redo2,
|
||||
Trash2,
|
||||
Upload,
|
||||
Cloud,
|
||||
Heart,
|
||||
Map,
|
||||
Layers2,
|
||||
|
|
Loading…
Reference in a new issue