From 408e430e0a3925b57a825b26851c3f53ac083dff Mon Sep 17 00:00:00 2001 From: KOWX712 Date: Sun, 12 Jan 2025 17:37:55 +0800 Subject: [PATCH] webui/css: fix word overflow in control panel --- module/webroot/styles.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/webroot/styles.css b/module/webroot/styles.css index f361cf8..f473927 100644 --- a/module/webroot/styles.css +++ b/module/webroot/styles.css @@ -144,8 +144,7 @@ h2{ display: flex; align-items: center; background-color: #fff; - padding: 5px 10px; - height: 38px; + padding: 8px 10px; white-space: nowrap; text-align: left; border-bottom: 1px solid #ccc; @@ -166,6 +165,8 @@ h2{ font-size: 16px; font-weight: bold; padding-left: 10px; + white-space: wrap; + max-width: calc(100% - 76px); user-select: none; }