From 9f07a0894db805dd89a247892423a5bd77e49dde Mon Sep 17 00:00:00 2001 From: KOWX712 Date: Sat, 11 Jan 2025 13:43:50 +0800 Subject: [PATCH] webui/css: language menu auto sizing complete b858a0d573add3a3db3bbcb5f739e1c8db120f82 --- module/webroot/styles.css | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/module/webroot/styles.css b/module/webroot/styles.css index f8e0845..2774070 100644 --- a/module/webroot/styles.css +++ b/module/webroot/styles.css @@ -522,22 +522,23 @@ button.delete-btn { #language-help .overlay-content { display: flex; - padding: 25px 15px; - width: calc(55vw + 50px); - max-width: 300px; + padding: 15px 35px; + width: auto; + max-width: auto; flex-direction: column; align-items: center; } #language-help h2 { - margin-top: 0; + margin-top: 15px; margin-bottom: 15px; width: 100%; } .language-option { + display: block; font-size: 18px; - padding: 8px 5px; + padding: 8px 10px; background-color: #fff; border: none; width: 100%; @@ -551,8 +552,8 @@ button.delete-btn { content: ""; position: absolute; bottom: 0; - left: 30px; - width: calc(100% - 60px); + left: 10px; + width: calc(100% - 20px); height: 1px; background-color: #ccc; }