Skip to content

Commit

Permalink
dvh was not picked in production
Browse files Browse the repository at this point in the history
Using min,max-heigh with dvh to fix the issue
Height using vh as fallback
  • Loading branch information
Albermonte committed Sep 6, 2023
1 parent a0ce880 commit d154576
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/MobileView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ watch(selectedUuid, (uuid) => {
</script>

<template>
<div class="flex flex-col h-screen-mobile">
<div class="flex flex-col h-screen min-h-[100dvh] max-h-[100dvh]">
<InteractionBar />
<TheMapInstance class="relative flex-1" />
<!-- Shadow -->
Expand Down Expand Up @@ -58,11 +58,6 @@ watch(selectedUuid, (uuid) => {
</template>

<style scoped>
.h-screen-mobile {
height: 100vh;
min-height: 100dvh;
max-height: 100dvh;
}
.scale-enter-active {
animation: icon-in 200ms ease-out 200ms;
opacity: 0;
Expand Down

0 comments on commit d154576

Please sign in to comment.