ubyssey.ca icon indicating copy to clipboard operation
ubyssey.ca copied to clipboard

Embedded graphs within articles scale to entire screen

Open ihciem opened this issue 2 years ago • 2 comments

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/

Screen Shot 2022-04-07 at 3 12 34 PM

Steps to reproduce

What was your environment like?

Do you have any logs?

ihciem avatar Apr 07 '22 23:04 ihciem

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).

ihciem avatar Apr 07 '22 23:04 ihciem

Article redesign, have resolved this issue

brittkhat avatar Nov 18 '22 22:11 brittkhat