Naming consistency: self-* vs justify-self-* for grid alignment #18935
                  
                    
                      mdtaufiquekhan
                    
                  
                
                  started this conversation in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed something about the alignment utility class naming, and I’m curious about the reasoning.
For grid
justify-self, Tailwind uses:But for grid
align-self, the classes are:So the pattern feels inconsistent:
From a naming consistency perspective, it feels like
align-self-start/align-self-endwould be more logical — just likejustify-self-start/justify-self-end.I also notice there is no such class as
align-self-start / align-self-endI definitely miss something that I need to find.
Thanks! 🙏
Beta Was this translation helpful? Give feedback.
All reactions