From 632ad3356235cc1db13d46d813988290f3b7422f Mon Sep 17 00:00:00 2001 From: MoeSnowyFox Date: Wed, 24 Sep 2025 23:39:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(Scripts.vue):=20=E8=B0=83=E6=95=B4=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=80=89=E9=A1=B9=E6=A0=B7=E5=BC=8F=E4=BB=A5=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=E5=88=86=E9=9A=94?= =?UTF-8?q?=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除 AntD 在按钮包装器之间注入的小分隔符,并设置类型选项和模式选项的高度为自动以改善布局。 --- frontend/src/views/Scripts.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/views/Scripts.vue b/frontend/src/views/Scripts.vue index d3fb0bb..7aaab51 100644 --- a/frontend/src/views/Scripts.vue +++ b/frontend/src/views/Scripts.vue @@ -799,8 +799,14 @@ const handleToggleUserStatus = async (user: User) => { flex-direction: column; } +/* Hide the small separator (::before) AntD injects between button wrappers */ +.type-radio-group :deep(.ant-radio-button-wrapper:not(:first-child)::before) { + display: none !important; +} + .type-option, .mode-option { + height: auto; display: flex; align-items: center; padding: 12px;