diff --git a/apps/web/src/admin/problem/detail.vue b/apps/web/src/admin/problem/detail.vue index 8b4bca0..9c58c26 100644 --- a/apps/web/src/admin/problem/detail.vue +++ b/apps/web/src/admin/problem/detail.vue @@ -1494,8 +1494,10 @@ onMounted(async () => { display: flex; align-items: center; gap: 10px; - width: 100%; - padding: 0; + /* 吃掉卡片的内边距:收起时整张卡都能点,不只是中间那一行字 */ + margin: -12px -16px; + padding: 12px 16px; + border-radius: 6px; border: 0; background: transparent; font: inherit; diff --git a/apps/web/src/admin/tutorial/list.vue b/apps/web/src/admin/tutorial/list.vue index 10f4376..abef3d2 100644 --- a/apps/web/src/admin/tutorial/list.vue +++ b/apps/web/src/admin/tutorial/list.vue @@ -176,12 +176,12 @@ onMounted(load)