Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Footer area #45

Closed
pachacamac opened this issue Jun 17, 2021 · 1 comment
Closed

Feature Request: Footer area #45

pachacamac opened this issue Jun 17, 2021 · 1 comment

Comments

@pachacamac
Copy link

Would it be possible to add an optional footer area? here basically where it says .wb-body{ margin } in the picture? The use case would be to have a space to easily add additional nav elements or a status bar without having to build a more complicated layout inside the wb-body yourself.

@ts-thomas
Copy link
Contributor

Such a footer area is theoretically a part of current wb-body (more than a part of the windows border), it just needs the same window background-color to looks like a part of the window, technically we divide wb-body into segments. Then we also need to take into account "header" and left/right sidebars, because depending on the scenario the additional nav bar might not being placed at the bottom. Allthough the footer element is probably the most common.

The best is to simply add an wrapper container to the body element of the window which includes the footer (absolute position) and a "new" body (also absolute position) and add overflow: hidden to the original window body and add overflow: auto to your new body. I will add such a workaround in the documentation (demo page) soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants