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

Add option to Stats cards to remove max-width style rule #1478

Open
Jura opened this issue Jan 3, 2025 · 0 comments
Open

Add option to Stats cards to remove max-width style rule #1478

Jura opened this issue Jan 3, 2025 · 0 comments

Comments

@Jura
Copy link
Member

Jura commented Jan 3, 2025

Currently every Stats card option (small, medium, large and Extra large) has its own maximum width set along side with other properties.

https://design.undp.org/?path=/story/components-ui-components-cards-stats-card--stats-card-story

We need to introduce an option to add .full-width class which will reset that property and let stats card occupy entire container

@ElijahJKim ElijahJKim assigned ElijahJKim and unassigned ElijahJKim Jan 20, 2025
ElijahJKim added a commit that referenced this issue Jan 20, 2025
Jura added a commit that referenced this issue Jan 20, 2025
#1478 - added "remove max-width" option to stats-cards and updated docs
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

No branches or pull requests

2 participants