在某些场景,Table组件使用Y轴滚动后,会出现表头被表体遮住,如底部border被遮盖
解决 :
.ant-table-header{
margin-bottom:-5px !important; //根据实际调整
padding-bottom:0px !important;
}
本文介绍了一种在Table组件中解决表头被表体遮挡的问题的方法,通过调整CSS样式,确保表头的底部边框不会被遮盖,从而提升表格组件的视觉效果和用户体验。
在某些场景,Table组件使用Y轴滚动后,会出现表头被表体遮住,如底部border被遮盖
解决 :
.ant-table-header{
margin-bottom:-5px !important; //根据实际调整
padding-bottom:0px !important;
}

被折叠的 条评论
为什么被折叠?