fix(Scripts.vue): 调整类型选项样式以隐藏不必要的分隔符
移除 AntD 在按钮包装器之间注入的小分隔符,并设置类型选项和模式选项的高度为自动以改善布局。
This commit is contained in:
@@ -799,8 +799,14 @@ const handleToggleUserStatus = async (user: User) => {
|
|||||||
flex-direction: column;
|
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,
|
.type-option,
|
||||||
.mode-option {
|
.mode-option {
|
||||||
|
height: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
|
|||||||
Reference in New Issue
Block a user