Clena up CSS
This commit is contained in:
parent
20433bd9f0
commit
70423851ba
10 changed files with 180 additions and 674 deletions
|
|
@ -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 {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue