瀏覽代碼

style: Fixed the style error when hovering the table header that can be clicked to trigger sorting (#2578)

YyumeiZhang 1 年之前
父節點
當前提交
17c3c66ce2
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      packages/semi-foundation/table/table.scss

+ 2 - 1
packages/semi-foundation/table/table.scss

@@ -145,7 +145,8 @@ $module: #{$prefix}-table;
                 &.#{$module}-row-head-clickSort {
                     cursor: pointer;
                     &:hover {
-                        background: $color-table_th-clickSort-bg-hover;
+                        background-image: linear-gradient(0deg, $color-table_th-clickSort-bg-hover, $color-table_th-clickSort-bg-hover);
+                        background-color: $color-table_cell-bg-hover;
                         
                         &.#{$module}-cell-fixed {
                             &-left,