# HG changeset patch # User nanaya # Date 1726057678 -32400 # Node ID 1fbe0b098f0fb9c034f40d259f241fc19ba2bc48 # Parent a56d5a527f6c1a54e1b1d9150cfd5e2637169fd8 Adjust styling - max 256px - 8px padding - plain line instead of hr (more precise margin) diff -r a56d5a527f6c -r 1fbe0b098f0f index.html --- a/index.html Wed Sep 11 21:17:14 2024 +0900 +++ b/index.html Wed Sep 11 21:27:58 2024 +0900 @@ -19,13 +19,13 @@ body { margin: 0; - padding: 10px; + padding: 8px; height: 100%; } .inputbox { width: 100%; - margin-bottom: 10px; + margin-bottom: 8px; resize: vertical; font-family: Courier New, monospace; /* prevent ios zoom */ @@ -37,21 +37,18 @@ min-height: 100%; max-width: 600px; margin: 0 auto; - display: flex; - flex-direction: column; - padding: 10px; + display: grid; + grid-template-rows: 1fr auto; + gap: 8px; } - .page__main { - flex: 1; + .page__footer { + border-top: 1px solid #333; + padding-top: 8px; } .outputbox { - will-change: opacity; - } - - .outputbox.js-hidden { - opacity: 0; + max-width: 256px; } .outputbox > canvas { @@ -60,7 +57,6 @@ .outputbox > img { max-width: 100%; - max-height: calc(100vh - 250px); } .title { @@ -82,9 +78,7 @@
-
-
- +
@@ -94,26 +88,22 @@