style: 工作区弹窗关闭按钮仅扩大图标背景

This commit is contained in:
GouJ committed 2026-09-26 23:28:56 +08:00
1 parent e5b2b4b2cf
commit 1c22f7d5f8
1 file changed
+8 -2
+8 -2
View File
@@ -53,10 +53,16 @@ const open = defineModel<boolean>('open', { default: false })
@apply min-h-0 h-full;
}
.workspace-tools-modal .n-card-header__close {
@apply grid place-items-center w-10 h-10 -m-2 rounded-none;
@apply grid place-items-center w-10 h-10 -m-2 rounded-none bg-transparent;
}
.workspace-tools-modal .n-card-header__close .n-base-icon {
@apply p-2 box-content bg-(--app-subtle);
}
.workspace-tools-modal .n-card-header__close:hover {
@apply bg-(--app-subtle);
@apply bg-transparent;
}
.workspace-tools-modal .n-card-header__close:hover .n-base-icon {
@apply bg-(--app-control-hover);
}
.workspace-tools-body {
@apply py-5 px-0;