Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,6 @@ defineExpose({ jumpToApi })
padding-left: 16px;
}

:deep(.tiny-grid-body__expanded-cell) {
background-color: #fafafa;
}

:deep(code) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of the background color for .tiny-grid-body__expanded-cell might affect the visual consistency. Ensure that the new theme variable adequately replaces this styling.

color: #476582;
padding: 4px 8px;
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/grid/table.less
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing the background color to a theme variable improves maintainability. Ensure that --tv-Grid-bg-color is defined and provides the desired appearance across all themes.


// 展开行背景颜色
.@{grid-prefix-cls}-body__expanded-row {
Expand Down
Loading