fix(App): PWA resizing issues

when resizing the PWA on iPad there were visible pixel wide lines on the edges
This commit is contained in:
Timothy Z. 2025-01-13 22:17:40 +02:00
parent 89b6526555
commit 809d984277

View file

@ -17,6 +17,8 @@
@calculated-bottom-safe-inset: ~"min(env(safe-area-inset-bottom, 0rem), max(1rem, calc(100lvh - 100svh - env(safe-area-inset-top, 0rem))))";
@html-width: ~"calc(max(100svw, 100dvw))";
@html-height: ~"calc(max(100svh, 100dvh))";
@html-standalone-width: ~"calc(max(100%, 100lvw))";
@html-standalone-height: ~"calc(max(100%, 100lvh))";
@safe-area-inset-top: env(safe-area-inset-top, 0rem);
@safe-area-inset-right: env(safe-area-inset-right, 0rem);
@safe-area-inset-bottom: env(safe-area-inset-bottom, 0rem);
@ -119,6 +121,12 @@ html {
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
@media (display-mode: standalone) {
width: @html-standalone-width;
height: @html-standalone-height;
}
body {
width: 100%;
height: 100%;