From 7a832ef248e6bde7a799e8b77067c80d0fd8eff0 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sat, 27 Apr 2024 18:08:17 +0800 Subject: [PATCH] fix modal border --- web_src/css/base.css | 4 ---- web_src/css/modules/modal.css | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index fc493bcdda..58a5723cb5 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -435,10 +435,6 @@ a.label, box-shadow: 1px 1px 0 0 var(--color-secondary); } -.ui.modal .actions { - border-radius: 0 0 var(--border-radius) var(--border-radius); -} - .ui.comments .comment .text { margin: 0; } diff --git a/web_src/css/modules/modal.css b/web_src/css/modules/modal.css index a2acfeaa15..427d2529c8 100644 --- a/web_src/css/modules/modal.css +++ b/web_src/css/modules/modal.css @@ -54,6 +54,7 @@ These inconsistent layouts should be refactored to simple ones. .ui.modal form > .content { padding: 1.5em; background: var(--color-body); + border-radius: 0 0 var(--border-radius) var(--border-radius); } .ui.modal > .actions, @@ -63,6 +64,7 @@ These inconsistent layouts should be refactored to simple ones. border-color: var(--color-secondary); padding: 1rem; text-align: right; + border-radius: 0 0 var(--border-radius) var(--border-radius); } .ui.modal .content > .actions {