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

justify-items is not supported in flex containers. #24851

Open
yisibl opened this issue Oct 29, 2024 · 0 comments
Open

justify-items is not supported in flex containers. #24851

yisibl opened this issue Oct 29, 2024 · 0 comments
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Comments

@yisibl
Copy link
Contributor

yisibl commented Oct 29, 2024

What type of issue is this?

Incorrect support data

What information was incorrect, unhelpful, or incomplete?

justify-items contains Supported in Flex Layout data, which is not actually supported on flex containers.

https://drafts.csswg.org/css-align/#justify-flex
This property does not apply to flex items, because there is more than one item in the main axis.

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

Remove Supported in Flex Layout

Did you test this? If so, how?

data:text/html;charset=UTF-8,<!DOCTYPE html>
<style>
  .box {
    display: flex;
    flex-wrap: wrap;
    justify-items: center;
    width: 300px;
    height: 100px;
    border: 1px solid black;
  }
  .inner {
    background-color: lime;
  }
</style>
<div class="box">
   <div class="inner">justify-items: center</div>
</div>

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items#browser_compatibility

MDN metadata

No response

@queengooborg queengooborg added the data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

No branches or pull requests

2 participants