Width capped at 90% and height capped at 160px in javascript/building-blocks/tasks/styles.css
Why do we have width capped at 90% and height capped at 160px?
Originally posted by @OnkarRuikar in https://github.com/mdn/content/issues/29670#issuecomment-1765527133
@OnkarRuikar I was also curious about this one. Creating a tracking issue here for it 👍🏻
@OnkarRuikar I was also curious about this one. Creating a tracking issue here for it 👍🏻
This can easily be fixed but we need to know why it is this way to avoid regression.
we need to know why it is this way
I have a strong suspicion this is a leftover from previous site layouts. I've asked the team and there are no leads at the moment as to the rationale, it would be good to check with eng about it.
I don't think this applies anymore. You can check https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Scripting/Test_your_skills/Conditionals