NatLibFi / Skosmos-widget-wiki

1 stars 0 forks source link

HTML elements are rendered too wide #8

Open joelit opened 2 years ago

joelit commented 2 years ago

Some elements in wikipedia page sources are defined to widths which overflow in the wikipedia plugin. Previous version of Bootstrap could scale these down, but the implementation needs to be changed for Bootstrap 5.

https://dev.finto.fi/yso-paikat/fi/page/p94382 has good examles of tables, bar graphs and info boxes that don't follow the intended width of the widget.

joelit commented 2 years ago

One reasonable option would be to use a horizontal scroll-bar in the cases where the wikipedia source code would be too wide for the widget layout.