index.less 827 Bytes
Newer Older
左玲玲's avatar
左玲玲 committed
1 2 3 4 5 6 7 8 9 10 11 12 13
.ledgerbox {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;

    .ledgerheader {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        flex-shrink: 0;
    }

    .ledgercontent {
左玲玲's avatar
左玲玲 committed
14
        background-color: #fff;
左玲玲's avatar
左玲玲 committed
15 16
        flex: 1;
        width: 100%;
左玲玲's avatar
左玲玲 committed
17
        overflow: hidden;
左玲玲's avatar
左玲玲 committed
18 19 20 21
        display: flex;
        justify-content: space-between;

        .ledgerleft {
左玲玲's avatar
左玲玲 committed
22
            width: var(--flagw);
左玲玲's avatar
左玲玲 committed
23 24 25
            display: flex;
            flex-direction: column;
            height: 100%;
左玲玲's avatar
左玲玲 committed
26
            overflow-y: auto;
左玲玲's avatar
左玲玲 committed
27 28 29 30 31
            padding: 0 16px;
            flex-shrink: 0;
        }

        .ledgerright {
左玲玲's avatar
左玲玲 committed
32
            padding: 0 16px;
左玲玲's avatar
左玲玲 committed
33 34
            flex: 1;
            border-left: 1px solid #f0f0f0;
左玲玲's avatar
左玲玲 committed
35
            overflow: hidden;
左玲玲's avatar
左玲玲 committed
36
            overflow-y: auto;
左玲玲's avatar
左玲玲 committed
37 38 39
        }
    }
}