mirror of
				https://github.com/gpxstudio/gpx.studio.git
				synced 2025-11-04 05:21:09 +00:00 
			
		
		
		
	use dvh only if supported
This commit is contained in:
		@@ -53,7 +53,7 @@
 | 
			
		||||
    });
 | 
			
		||||
</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="grow relative">
 | 
			
		||||
            <Menu />
 | 
			
		||||
 
 | 
			
		||||
@@ -54,6 +54,9 @@ const config = {
 | 
			
		||||
            screens: {
 | 
			
		||||
                "xs": "540px",
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        supports: {
 | 
			
		||||
            dvh: 'height: 100dvh',
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user