More css clean up

This commit is contained in:
Andras Schmelczer 2026-05-16 15:41:36 +01:00
commit ce383ce34c
6 changed files with 13 additions and 71 deletions

View file

@ -1,7 +1,5 @@
html>body {
html > body {
width: 100%;
min-height: 100vh;
min-height: 100dvh;
height: 100vh;
height: 100dvh;
overflow: hidden;
@ -9,22 +7,20 @@ html>body {
position: relative;
background: var(--garden-background, #10151f);
>.canvas-container {
min-height: 100vh;
min-height: 100dvh;
> .canvas-container {
height: 100%;
width: 100%;
display: flex;
position: relative;
overflow: hidden;
>canvas {
> canvas {
height: 100%;
width: 100%;
touch-action: none;
}
>.eraser-preview {
> .eraser-preview {
position: absolute;
top: 0;
left: 0;
@ -51,7 +47,7 @@ html>body {
}
}
>.dev-stats-overlay {
> .dev-stats-overlay {
position: absolute;
top: max(10px, env(safe-area-inset-top, 0px));
left: max(10px, env(safe-area-inset-left, 0px));
@ -70,13 +66,9 @@ html>body {
pointer-events: none;
user-select: none;
white-space: pre;
&[hidden] {
display: none;
}
}
>.errors-container {
> .errors-container {
position: absolute;
top: 0;
left: 0;
@ -89,4 +81,4 @@ html>body {
}
}
}
}
}