Skip to content

Commit

Permalink
#1478 - changes in stats-cards.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahJKim committed Jan 20, 2025
1 parent 373957d commit 5416c24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/css/components/stats-cards.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 3 additions & 16 deletions stories/Components/UIcomponents/Cards/StatsCards/stats-cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -186,22 +186,9 @@ $colors: (
}
}
}
}

// Apply full-width style when max-width is set to "No"
.stats-card.full-width {
max-width: none;
width: 100%;
padding: var(--undpds-spacing-08);
}

.stats-card.full-width {
@include devicebreak(small) {
width: 100%;
}

@include devicebreak(medium) {
width: 100%;
// Apply full-width style when max-width is set to "No"
&.full-width {
max-width: none;
}
}

Expand Down

0 comments on commit 5416c24

Please sign in to comment.