use dvh only if supported
This commit is contained in:
parent
9a0d54c684
commit
7adf660b76
2 changed files with 4 additions and 1 deletions
|
@ -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',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue