Clena up CSS

This commit is contained in:
Andras Schmelczer 2026-05-16 15:05:23 +01:00
commit 70423851ba
10 changed files with 180 additions and 674 deletions

View file

@ -1,4 +1,4 @@
html > body {
html>body {
width: 100%;
min-height: 100vh;
min-height: 100dvh;
@ -9,7 +9,7 @@ html > body {
position: relative;
background: var(--garden-background, #10151f);
> .canvas-container {
>.canvas-container {
min-height: 100vh;
min-height: 100dvh;
height: 100%;
@ -18,16 +18,13 @@ html > body {
position: relative;
overflow: hidden;
> canvas {
>canvas {
height: 100%;
width: 100%;
touch-action: none;
cursor:
url('../../assets/icons/brush.svg') 0 24,
auto;
}
> .eraser-preview {
>.eraser-preview {
position: absolute;
top: 0;
left: 0;
@ -54,7 +51,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));
@ -79,7 +76,7 @@ html > body {
}
}
> .errors-container {
>.errors-container {
position: absolute;
top: 0;
left: 0;
@ -92,4 +89,4 @@ html > body {
}
}
}
}
}