ottobonn / stl-viewer

An HTML custom element to render 3D STL models in a web page
MIT License
9 stars 3 forks source link

incompatible with CSS display: flex #1

Open TylorKing opened 2 months ago

TylorKing commented 2 months ago

If there is a div container anywhere with the display property set to flex, the STL viewer will no longer render/be shown.

Any option to use this within such div containers?

ottobonn commented 2 months ago

Mind posting a code snippet so I can see how you're using it? I just tested it out and it seems to work with a flex container for me.

billov-sq commented 1 week ago

How to disable shadow on stl model. In which file, what line?