mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 15:43:25 +00:00
use dvh only if supported
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="fixed flex flex-row w-screen h-screen h-dvh">
|
<div class="fixed flex flex-row w-screen h-screen supports-dvh:h-dvh">
|
||||||
<div class="flex flex-col grow h-full min-w-0">
|
<div class="flex flex-col grow h-full min-w-0">
|
||||||
<div class="grow relative">
|
<div class="grow relative">
|
||||||
<Menu />
|
<Menu />
|
||||||
|
@@ -54,6 +54,9 @@ const config = {
|
|||||||
screens: {
|
screens: {
|
||||||
"xs": "540px",
|
"xs": "540px",
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
supports: {
|
||||||
|
dvh: 'height: 100dvh',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user