[SimpleViewer] Height of Viewer

Forge Component
(5)
Published on 4 Aug by Caio Santana Magalhães
5 votes
Published on 4 Aug by Caio Santana Magalhães

Sorry for asking a dumb question, but iam not that much into css. 

How do i manage to set the height of the viewer to 100% ?

Thank you very much.

Stefan

Stefan Weber wrote:

Sorry for asking a dumb question, but iam not that much into css. 

How do i manage to set the height of the viewer to 100% ?

Thank you very much.

Stefan

Hello,

Here is what you should do in the CSS style, on the main div

display: block;
overflow: auto;
height:100%;


Stelea Alexandru wrote:

Thank you. This one seems to set the surrounding container to 100% but the viewer itself is stii not expanding. Seems like there is a hard 400px default height ?

Stefan Weber wrote:

Sorry for asking a dumb question, but iam not that much into css. 

How do i manage to set the height of the viewer to 100% ?

Thank you very much.

Stefan

Hello,

Here is what you should do in the CSS style, on the main div

display: block;
overflow: auto;
height:100%;




Could you please upload screenshoot? including the settings also (css).


Thank you