amis2/packages/amis-ui/scss/layout/_vbox.scss

39 lines
635 B
SCSS
Raw Normal View History

2019-04-30 11:11:25 +08:00
.#{$ns}Vbox {
2019-12-06 09:58:08 +08:00
display: table;
border-spacing: 0;
position: relative;
width: 100%;
height: 100%;
min-height: 240px;
2019-12-06 09:58:08 +08:00
& .row-row {
display: table-row;
height: 100%;
2019-12-06 09:58:08 +08:00
& .#{$ns}Vbox-cell {
position: relative;
height: 100%;
width: 100%;
2019-12-06 09:58:08 +08:00
.ie & {
display: table-cell;
overflow: auto;
2019-12-06 09:58:08 +08:00
& .cell-inner {
overflow: visible !important;
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
}
& .cell-inner {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
-webkit-overflow-scrolling: touch;
overflow: auto;
}
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
}
}