property-layout.less 447 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
.left-and-right {
    display: flex;
    height: 100%;
    > div {
        height: 100%;
        padding: 0 16px;
    }
    > div:nth-child(1) {
        flex-grow: 1;
        padding-left: 0;
        display: flex;
        flex-direction: column;
    }
}
.top-and-bottom {
    display: flex;
    flex-direction: column;
    height: 100%;
    > div:nth-child(1) {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
}