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

Scroll-down properties #1

Open
pokomoko opened this issue Nov 5, 2014 · 1 comment
Open

Scroll-down properties #1

pokomoko opened this issue Nov 5, 2014 · 1 comment

Comments

@pokomoko
Copy link

pokomoko commented Nov 5, 2014

HI,
How can I add an scroll-down to label properties in case it's used a long text and pictures.
Something similar to:
http://www.bootply.com/render/129821
(this example it's well-worthy but on responsive mobile is quite messy as the map should be on top and text down)

@jumpinjackie
Copy link
Owner

The key is to assign the following css to the div.panel-body element of the property panel

height: <height to fill>px
overflow-y: auto

This will cause the content within to be scrollable if its height exceeds < height to fill > pixels

The < height to fill > needs to be explicit and will have to be re-calculated on window resize and/or panel collapse/expand.

Yet to figure out how to best incorporate this into the example templates

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