bootstrap-viewer-template icon indicating copy to clipboard operation
bootstrap-viewer-template copied to clipboard

Scroll-down properties

Open pokomoko opened this issue 10 years ago • 1 comments

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)

pokomoko avatar Nov 05 '14 10:11 pokomoko

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

jumpinjackie avatar Nov 05 '14 11:11 jumpinjackie