serlo / serlo-editor-for-edusharing

https://serlo-editor-for-edusharing.vercel.app
Apache License 2.0
4 stars 3 forks source link

Geogebra embed does not size itself correctly based on its container element size #301

Closed LarsTheGlidingSquirrel closed 9 months ago

LarsTheGlidingSquirrel commented 10 months ago

Geogebra plugin is currently deactivated because of this issue.

Currently, the geogebra embed sizes itself to have height: 0. Even though the container element does not provide a height itself, only the width.

Steps to reproduce on branch https://github.com/serlo/serlo-editor-for-edusharing/tree/fix-geogebra:

Geogebra embed has size 0 here.

elbotho commented 10 months ago

the plugin implicitly depends on styling provided by the privacy wrapper in the frontend. Easiest way would probably be to add the missing wrappers/elements here as well.

Entkenntnis commented 9 months ago

The links PR will fix the seizing issue itself.

There are two other issues that are independant of it and also prevent geogebra from displaying properly and in my knowledge happen in the frontend as well: