bootstrap-viewer-template
bootstrap-viewer-template copied to clipboard
Scroll-down properties
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)
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