-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MDN layout issue: tables too wide when viewport is 769px and 1200px #10346
Comments
This is resolved at 1200 px: @media screen and (min-width: 1200px) {
.table-container {
margin: 0;
margin-bottom: 0px;
width: 100%;
} note the margin bottom can be removed as it is part of the margin shorthand. |
Should we file this on/transfer it to Yari? |
@wbamberg, Can I do this? I want to know Yari. I found where to fix it. (client/src/document/ingredients/browser-compatibility-table/index-desktop-md.scss) I just need Yari set-up. |
@ShubhamOulkar , I'm not a Yari maintainer, you'll have to ask them. |
FWIW The tricky part is that regular tables are only wrapped in |
This is actually a duplicate of #9962. |
In the CSS, there is the line:
with the table being 100% of the container, the table is 6em wider than the paragraphs above and below. The alignment looks off on the left, but it looks actually cut off on the right.
partial screen grab of a page with this issue attached:
Example taken from: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units
The text was updated successfully, but these errors were encountered: