mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +08:00
39 lines
635 B
SCSS
39 lines
635 B
SCSS
.#{$ns}Vbox {
|
|
display: table;
|
|
border-spacing: 0;
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 240px;
|
|
|
|
& .row-row {
|
|
display: table-row;
|
|
height: 100%;
|
|
|
|
& .#{$ns}Vbox-cell {
|
|
position: relative;
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
.ie & {
|
|
display: table-cell;
|
|
overflow: auto;
|
|
|
|
& .cell-inner {
|
|
overflow: visible !important;
|
|
}
|
|
}
|
|
|
|
& .cell-inner {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
-webkit-overflow-scrolling: touch;
|
|
overflow: auto;
|
|
}
|
|
}
|
|
}
|
|
}
|