From f33db7c35dc49cc1de5c9245e0808ca2de610b84 Mon Sep 17 00:00:00 2001 From: ajaxzheng <894103554@qq.com> Date: Wed, 26 Feb 2025 09:12:59 +0800 Subject: [PATCH] fix: fix api table expand style --- .../sites/src/views/components-doc/components/api-docs.vue | 4 ---- packages/theme/src/grid/table.less | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/sites/src/views/components-doc/components/api-docs.vue b/examples/sites/src/views/components-doc/components/api-docs.vue index 7f03ea6185..9a7baedf5f 100644 --- a/examples/sites/src/views/components-doc/components/api-docs.vue +++ b/examples/sites/src/views/components-doc/components/api-docs.vue @@ -220,10 +220,6 @@ defineExpose({ jumpToApi }) padding-left: 16px; } - :deep(.tiny-grid-body__expanded-cell) { - background-color: #fafafa; - } - :deep(code) { color: #476582; padding: 4px 8px; diff --git a/packages/theme/src/grid/table.less b/packages/theme/src/grid/table.less index 3964c896cd..8fbe0c43e6 100644 --- a/packages/theme/src/grid/table.less +++ b/packages/theme/src/grid/table.less @@ -26,7 +26,7 @@ overflow: hidden; font-size: var(--tv-Grid-font-size); color: var(--tv-Grid-text-color); - background-color: #fff; + background-color: var(--tv-Grid-bg-color); // 展开行背景颜色 .@{grid-prefix-cls}-body__expanded-row {