Commit 5c6902379556a6ddb104689e6d4b0191e98f6f60

Authored by 梁灏
1 parent f956b995

fix #5147, ref #1387

Showing 1 changed file with 12 additions and 10 deletions   Show diff stats
src/styles/components/table.less
@@ -315,16 +315,18 @@ @@ -315,16 +315,18 @@
315 } 315 }
316 &-fixed-header{ 316 &-fixed-header{
317 overflow: hidden; 317 overflow: hidden;
318 - &-with-empty{  
319 - .@{table-prefix-cls}-hidden{  
320 - .@{table-prefix-cls}-sort{  
321 - display: none;  
322 - }  
323 - .@{table-prefix-cls}-cell span{  
324 - display: none;  
325 - }  
326 - }  
327 - } 318 + // 在 #1387 里,添加了下面的代码,但是在 #5147 会出现新的问题。
  319 + // 但是,在新版本里,注释掉后,#1387 的问题并没有再复现,所以注释掉
  320 + //&-with-empty{
  321 + // .@{table-prefix-cls}-hidden{
  322 + // .@{table-prefix-cls}-sort{
  323 + // display: none;
  324 + // }
  325 + // .@{table-prefix-cls}-cell span{
  326 + // display: none;
  327 + // }
  328 + // }
  329 + //}
328 } 330 }
329 &-fixed-body{ 331 &-fixed-body{
330 overflow: hidden; 332 overflow: hidden;