width cap
Some checks failed
Build & Push Docker (latest) / build (push) Has been cancelled
Build & Push Docker (latest) / verify (push) Has been cancelled

This commit is contained in:
Aiden Wilson
2026-05-29 22:46:56 +10:00
parent 4595e782c8
commit a88306aec7
7 changed files with 575 additions and 20 deletions

View File

@@ -16,6 +16,16 @@ body {
margin: 0;
}
.graphic-document {
width: 100%;
height: 100%;
background: var(--chroma);
}
.graphic-document.transparent {
background: transparent;
}
.app {
display: grid;
min-height: 100vh;
@@ -92,12 +102,12 @@ button {
.controls {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
grid-template-columns: repeat(7, minmax(0, 1fr));
gap: 10px;
align-items: end;
}
.controls label:last-child {
.checkbox-label {
display: flex;
min-height: 42px;
align-items: center;
@@ -124,6 +134,14 @@ code {
background: transparent;
}
.graphic.is-loading .stage {
opacity: 0;
}
.graphic.is-ready .stage {
opacity: 1;
}
.stage {
position: relative;
display: grid;
@@ -132,10 +150,14 @@ code {
margin: 0 auto;
place-items: center;
overflow: hidden;
opacity: 1;
transition: opacity 120ms linear;
}
.embed {
display: grid;
width: var(--embed-width, auto);
height: var(--embed-height, auto);
max-width: 92%;
max-height: 92%;
place-items: center;