From dce4bec81333a2667731c032679a6aac934596da Mon Sep 17 00:00:00 2001 From: KOWX712 Date: Tue, 25 Feb 2025 04:27:34 +0800 Subject: [PATCH] webui: limit content in one page --- module/webroot/styles.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/module/webroot/styles.css b/module/webroot/styles.css index 89ca36d..b79458d 100644 --- a/module/webroot/styles.css +++ b/module/webroot/styles.css @@ -11,21 +11,23 @@ body { padding-bottom: var(--window-inset-bottom); } -.header { - user-select: none; -} - .content { padding-bottom: 10px; display: flex; flex-direction: column; align-items: center; + height: 90vh; gap: 15px; } +.header { + user-select: none; +} + .button-box { width: calc(85vw + 30px); max-width: 800px; + flex-shrink: 0; background-color: #fff; border: none; border-radius: 15px; @@ -118,7 +120,7 @@ input:checked+.slider:before { .output-terminal { width: calc(85vw + 30px); max-width: 800px; - height: 600px; + flex-grow: 1; background-color: #fff; box-sizing: border-box; border-radius: 15px;