Open NaitLee opened 3 years ago
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
.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 :)
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:Then it works as expected :)