mirror of
https://gitee.com/layui/layui.git
synced 2025-06-28 04:35:24 +08:00
fix(tabs): 修复 box-sizing 对主体区域中其他组件的样式影响 (#2622)
This commit is contained in:
parent
4a3be7b793
commit
4ddbf1d7cf
@ -1296,7 +1296,6 @@ body .layui-table-tips .layui-layer-content{background: none; padding: 0; box-sh
|
||||
|
||||
/* Tabs 标签页 */
|
||||
.layui-tabs{position: relative;}
|
||||
.layui-tabs *{box-sizing: border-box;}
|
||||
.layui-tabs.layui-hide-v{overflow: hidden;}
|
||||
.layui-tabs-header{position: relative; left: 0; height: 40px; padding: 0 !important; white-space: nowrap; font-size: 0; transition: all .16s; -webkit-transition: all .16s;}
|
||||
.layui-tabs-header:after,
|
||||
|
@ -563,7 +563,7 @@ layui.define('component', function(exports) {
|
||||
|
||||
// 滚动结构
|
||||
var rollElem = {
|
||||
elem: $('<div class="'+ CLASS_SCROLL +' layui-unselect"></div>'),
|
||||
elem: $('<div class="'+ CLASS_SCROLL +' layui-border-box layui-unselect"></div>'),
|
||||
bar: $([
|
||||
'<div class="'+ CLASS_BAR +'">',
|
||||
'<i class="layui-icon '+ CLASS_BAR_ICON[0] +'" lay-mode="prev"></i>',
|
||||
|
Loading…
Reference in New Issue
Block a user