learning-area icon indicating copy to clipboard operation
learning-area copied to clipboard

Width capped at 90% and height capped at 160px in javascript/building-blocks/tasks/styles.css

Open bsmth opened this issue 2 years ago • 3 comments

Why do we have width capped at 90% and height capped at 160px? _1

Originally posted by @OnkarRuikar in https://github.com/mdn/content/issues/29670#issuecomment-1765527133

bsmth avatar Nov 03 '23 09:11 bsmth

@OnkarRuikar I was also curious about this one. Creating a tracking issue here for it 👍🏻

bsmth avatar Nov 03 '23 09:11 bsmth

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

OnkarRuikar avatar Nov 03 '23 12:11 OnkarRuikar

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.

bsmth avatar Nov 06 '23 15:11 bsmth

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

bsmth avatar Aug 25 '25 09:08 bsmth