Skip to content

Commit

Permalink
style: remove table borderRadius when dataSource is empty (#2337)
Browse files Browse the repository at this point in the history
  • Loading branch information
pointhalo authored Jul 12, 2024
1 parent 20621ab commit f131257
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/semi-foundation/table/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,6 @@ $module: #{$prefix}-table;
text-align: center;
background: $color-table_pl-bg-default;
border-bottom: $width-table_base_border $border-table_base-borderStyle $color-table-border-default;
border-radius: 0 0 #{$radius-table_base} #{$radius-table_base};
}

&-fixed {
Expand Down
2 changes: 1 addition & 1 deletion packages/semi-foundation/table/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $spacing-table_panel_operation-paddingY: $spacing-tight;
$width-table_base_border: 1px; // 表格单元格分割线宽度
$width-table_header_border: 2px; // 表格表头分割线宽度
$width-table_resizer_border: 2px; // 表格拉伸列标示线宽度
$radius-table_base: 4px;
// $radius-table_base: 4px;
$width-table_column_selection: 48px; // 表格默认列宽
$width-table_column_sorter-icon: 16px; // 表格排序按钮宽度
$height-table_column_sorter-icon: 16px; // 表格排序按钮高度
Expand Down

0 comments on commit f131257

Please sign in to comment.