@aplus-frontend/ui
Version:
57 lines (51 loc) • 1.05 kB
text/less
@import '../mixins/mixins.less';
@import '../mixins/config.less';
// 使用到的组件
@import '../ap-table/ap-table.less';
@border-color: #dee4ed;
.b('ap-table-modal', {
&--table-layout {
display: flex;
justify-content: space-between;
height: 100%;
&.complex-layout {
height: 100%;
position: relative;
}
&-left {
flex: 1;
min-width: 0px;
padding-right: 20px;
box-sizing: border-box;
display: flex;
flex-direction: column;
&-content {
flex: 1;
.ant-table-body {
height: 100%;
}
}
}
&-right {
max-height: 643px;
width: 410px;
padding-left: 20px;
position: relative;
display: flex;
flex-direction: column;
&-content {
flex: 1;
overflow-y: auto;
}
&::before {
content: '';
height: calc(100% + 16px);
width: 1px;
background-color: @border-color;
position: absolute;
left: 0px;
top:-16px;
}
}
}
});