From a24cc0b7a6ffa4d1b4bb3457b96bb14a240bf852 Mon Sep 17 00:00:00 2001 From: Simon From Jakobsen Date: Mon, 29 Sep 2025 15:48:41 +0200 Subject: [PATCH] fix canvas on big screens --- style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/style.css b/style.css index 6309120..d0879e8 100644 --- a/style.css +++ b/style.css @@ -29,10 +29,17 @@ main { } section { + border-radius: 8px; width: 100%; flex: 1; display: flex; flex-direction: column; + background-color: black; +} + +section canvas { + margin-left: auto; + margin-right: auto; } section *:last-child { @@ -81,11 +88,17 @@ div#buttons > * { background-color: black; margin: 0; width: 100%; + overflow-wrap: break-word; + word-break: break-all; font-size: 1rem; padding: 4px 8px; flex: 1; } +#console pre { + width: 100%; + white-space: pre-wrap; +} #console input { width: 100%; margin: 0;