Skip to content

Make content of window-body able to scroll #33

@NaitLee

Description

@NaitLee

I'm just making an explorer.exe liked thing, and need content of window-body to scroll (rather than overflow).
So I tried this CSS:

.window-body {
    overflow: auto;
    height: calc(100% - 44px);  /* (inherit-height 100%) - (title-bar 21px) - (title-bar-border 1px) - (title-bar-padding 2 x 3px) - (window-body-margin 2 x 8px) */
}

Then it works as expected :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions