How do we address the problem with live samples displaying with an incorrect height #127
-
There is a problem with the height of live samples that is a regression from before the redesign. Although the problem also exists for interactive examples, the priority is around live samples. In some cases, the problem is just annoying and bad UX but, in some places(especially the learn area) the iframe is so small you can hardly see the content. Some options
From a discussion with the folks at OWD, there is a strong preference for:
/cc @mdn/yari-content @mdn/core-dev |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
@schalkneethling Do you have any background on why more padding was added? My preference would be to just remove it 👍 |
Beta Was this translation helpful? Give feedback.
-
Can you point us to some examples. I couldn't see any broken live sample. Or does it depend on screen size? |
Beta Was this translation helpful? Give feedback.
-
@schalkneethling I'm all for dropping this line: https://github.com/mdn/yari/blob/main/client/src/document/index.scss#L331 aka solution |
Beta Was this translation helpful? Give feedback.
@schalkneethling I'm all for dropping this line: https://github.com/mdn/yari/blob/main/client/src/document/index.scss#L331 aka solution
1.