sprotty
sprotty copied to clipboard
Hidden graph leads to unneeded scroll bar
My webview has a scroll bar, which is not needed for my graph. It is the result of the hidden graph. Any idea, how to fix this, i.e., get rid of scrollbar due to hidden graph?
This is the default CSS - can you check whether that's loaded?
https://github.com/eclipse-sprotty/sprotty/blob/aa21cc00da254f9c1bc6820400c4a503dc27890e/packages/sprotty/css/sprotty.css#L26-L31
If yes, could the parent layout cause the width and height settings to be ignored?
You can add your own CSS to .sprotty-hidden or its container to fix this.