Browse Source

💄 (dashboard-v6): 右边栏字典正文加左内边距

正文原来紧贴面板左边框,加 12px,与右边栏标题栏一致。
antd 6 的 Tabs 内容区类名是 ant-tabs-body-holder。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
visuddhinanda 10 hours ago
parent
commit
e524dfeebf
1 changed files with 5 additions and 0 deletions
  1. 5 0
      dashboard-v6/src/components/editor/panels/DictPanel.module.css

+ 5 - 0
dashboard-v6/src/components/editor/panels/DictPanel.module.css

@@ -18,3 +18,8 @@
   white-space: nowrap;
   vertical-align: bottom;
 }
+
+/* 正文与面板左边框留出间距,与右边栏标题栏的左内边距一致 */
+.tabs > :global(.ant-tabs-body-holder) {
+  padding-left: 12px;
+}