Skip to content
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

min-inline-size is not a media descriptor #38282

Open
thinkingcomputing opened this issue Feb 22, 2025 · 2 comments
Open

min-inline-size is not a media descriptor #38282

thinkingcomputing opened this issue Feb 22, 2025 · 2 comments
Labels
Content:CSS Cascading Style Sheets docs good first issue A good issue for newcomers to get started with.

Comments

@thinkingcomputing
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Realizing_common_layouts_using_grids

What specific section or headline is this issue about?

Media queries

What information was incorrect, unhelpful, or incomplete?

'min-inline-size' does not seem to work when used in media queries. I tried a number of ways to get it to work. Some searching confirms the issue. Changing it to 'min-width' made it work. I tried latest versions of Firefox and Chrome on Ubuntu.

What did you expect to see?

I expected the grid layout to work but it did not.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@thinkingcomputing thinkingcomputing added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 22, 2025
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Feb 22, 2025
@Josh-Cena
Copy link
Member

Josh-Cena commented Feb 22, 2025

@estelle This was a search&replace error in #38005, right? inline-size is not a media descriptor. We need to restore them to min-width.

@Josh-Cena Josh-Cena added good first issue A good issue for newcomers to get started with. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Feb 22, 2025
@Josh-Cena Josh-Cena changed the title min-inline-size does not seem to work in media queries min-inline-size is not a media descriptor Feb 22, 2025
@SnowDingo
Copy link

@estelle This was a search&replace error in #38005, right? inline-size is not a media descriptor. We need to restore them to min-width.

I am new to this project, so I am not an expert on this topic, but is the change just replacing the inline size with the min-width?
If so, I think I would be able to create a quick PR that resolves this issue.

-SnowDingo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs good first issue A good issue for newcomers to get started with.
Projects
None yet
Development

No branches or pull requests

3 participants