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

Code Suggestion for #14498 #2

Conversation

muhammad-ali-pk
Copy link

canonical#14498 Nice work levelling the cards + CTAs. However, if in future, any of the card is updated to add/remove a line (copy update), the CTA's will lose their alignment. This suggestion makes sure the cards and CTAs stay aligned, no matter the content.

Properly aligned cards with their CTAs
@mtruj013
Copy link
Owner

Thanks for this @muhammad-ali-pk! I think there might be some conflicting styles here breaking the grid a bit. I can keep playing around with it but given that this component is going to be officially upstreamed to vanilla soon I think it's better to refactor this accordingly then 🙂

@mtruj013 mtruj013 closed this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants