fix(Scripts.vue): 调整类型选项样式以隐藏不必要的分隔符

移除 AntD 在按钮包装器之间注入的小分隔符,并设置类型选项和模式选项的高度为自动以改善布局。
This commit is contained in:
MoeSnowyFox
2025-09-24 23:39:03 +08:00
parent d3639d44e1
commit 632ad33562

View File

@@ -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;