fix(table): 修复由 #2250 造成的右侧固定列偏移 1 像素问题 (#2318)

This commit is contained in:
morning-star 2024-11-14 16:04:35 +08:00 committed by GitHub
parent 7869687e81
commit 2e48de198f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1134,7 +1134,7 @@ hr.layui-border-black{border-width: 0 0 1px;}
.layui-table-fixed{position: absolute; left: 0; top: 0; z-index: 101;}
.layui-table-fixed .layui-table-body{overflow: hidden;}
.layui-table-fixed-l{box-shadow: 1px 0 8px rgba(0,0,0,.08);}
.layui-table-fixed-r{left: auto; right: -1px; border-width: 0; border-left-width: 1px; box-shadow: -1px 0 8px rgba(0,0,0,.08);}
.layui-table-fixed-r{left: auto; right: 0px; border-width: 0; border-left-width: 1px; box-shadow: -1px 0 8px rgba(0,0,0,.08);}
.layui-table-fixed-r .layui-table-header{position: relative; overflow: visible;}
.layui-table-mend{position: absolute; right: -49px; top: 0; height: 100%; width: 50px; border-width: 0; border-left-width: 1px;}

View File

@ -2077,7 +2077,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
](HIDE);
// 操作栏
that.layFixRight.css('right', scrollWidth - 1);
that.layFixRight.css('right', scrollWidth);
};
/**