ubyssey.ca
ubyssey.ca copied to clipboard
Embedded graphs within articles scale to entire screen
What behavior were you expecting?
For the embedded items to keep the same width (and auto adjusted height) as the article (i.e. the text).
What actually happened?
https://www.ubyssey.ca/news/breaking-down-ubcs-329-billion-202223-budget/

Steps to reproduce
What was your environment like?
Do you have any logs?
style="width: 960px; height: 966.857px; transform: scale(1); transform-origin: 0px 0px 0px;"
Note: transform: scale(1); resizes the element to full width (mdn web docs)
Found the above line within the code (in Firefox code inspector) within the inserted html (raw HTML block from the CMS).
Article redesign, have resolved this issue