mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
style: 解决页面设计器预览 table 的 sticky 表头显示元素会重叠的问题 (#7650)
This commit is contained in:
parent
3507f857b1
commit
1a57bc581e
@ -158,11 +158,20 @@
|
||||
position: relative;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 24px 16px 16px;
|
||||
padding: 0 16px 16px;
|
||||
min-width: 300px;
|
||||
background-color: $default-bg-color;
|
||||
overflow: auto;
|
||||
|
||||
// 因为如果成员里面有 position:sticky 的内容
|
||||
// 用 padding 会导致位置不正确
|
||||
// 所以改成这种写法
|
||||
&:before {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
@include minScrollBar();
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
|
Loading…
Reference in New Issue
Block a user