正文原来紧贴面板左边框,加 12px,与右边栏标题栏一致。 antd 6 的 Tabs 内容区类名是 ant-tabs-body-holder。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@@ -18,3 +18,8 @@
white-space: nowrap;
vertical-align: bottom;
}
+
+/* 正文与面板左边框留出间距,与右边栏标题栏的左内边距一致 */
+.tabs > :global(.ant-tabs-body-holder) {
+ padding-left: 12px;
+}