From ee169eb2cd7870bed0f98b2d804de91b45157124 Mon Sep 17 00:00:00 2001 From: KOWX712 Date: Fri, 21 Feb 2025 17:44:33 +0800 Subject: [PATCH] opt: ui border sizing --- module/webui/styles/applist.css | 10 ++++++---- module/webui/styles/global.css | 7 ++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/module/webui/styles/applist.css b/module/webui/styles/applist.css index 450f8cf..3ac72d2 100644 --- a/module/webui/styles/applist.css +++ b/module/webui/styles/applist.css @@ -16,12 +16,13 @@ align-items: center; background-color: #DCDCDC; border: none; - border-radius: 10px; + border-radius: 12px; + box-sizing: border-box; margin: 0 auto; margin-bottom: 10px; outline: none; padding: 12px; - width: calc(100% - 30px); + width: calc(100% - 5px); max-width: 900px; } @@ -146,12 +147,13 @@ .card { background-color: #fff; border: none; + box-sizing: border-box; border-radius: 12px; margin: 0 auto; margin-bottom: 10px; outline: none; - padding: 13px; - width: calc(100% - 30px); + padding: 12px; + width: calc(100% - 5px); max-width: 900px; transition: background-color 0.2s ease; } diff --git a/module/webui/styles/global.css b/module/webui/styles/global.css index 9ae1140..4d18c5f 100644 --- a/module/webui/styles/global.css +++ b/module/webui/styles/global.css @@ -74,18 +74,19 @@ body { .footer { display: flex; justify-content: center; - margin-bottom: 70px; + margin-bottom: 100px; } .uninstall-container { - padding: 12px; - width: calc(100% - 30px); + padding: 8px; + width: calc(100% - 5px); max-width: 900px; display: flex; justify-content: center; align-items: center; border-radius: 12px; border: 3px solid #FF3636; + box-sizing: border-box; background-color: #F5F5F5; white-space: nowrap; overflow: hidden;