mirror of https://github.com/layui/layui
修复 table 在 IE 下同时开启多行模式和单元格编辑时,输入框高度异常的问题 (#1387)
* 修复 table 在 IE 下同时开启多行模式和单元格编辑时,输入框高度异常的问题 * 删除不必要的逗号 * update table.js * 优化 table 多行相关样式兼容 IE 时的小细节 --------- Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>pull/1391/head
parent
29eeb40cf1
commit
d9326f039b
|
@ -572,8 +572,13 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
|||
'{'+ lineStyle +'}',
|
||||
'.layui-table-cell{height: auto; max-height: '+ cellMaxHeight +'; white-space: normal; text-overflow: clip;}',
|
||||
'> td:hover > .layui-table-cell{overflow: auto;}'
|
||||
], function(i, val) {
|
||||
text.push(trClassName + ' ' + val);
|
||||
].concat(
|
||||
device.ie ? [
|
||||
'.layui-table-edit{height: '+ cellMaxHeight +';}',
|
||||
'td[data-edit]:hover:after{height: '+ cellMaxHeight +';}'
|
||||
] : []
|
||||
), function(i, val) {
|
||||
val && text.push(trClassName + ' ' + val);
|
||||
});
|
||||
})(options.lineStyle);
|
||||
|
||||
|
|
Loading…
Reference in New Issue