Skip to content

Commit

Permalink
Protect: use flex gap to space home page stat cards
Browse files Browse the repository at this point in the history
  • Loading branch information
nateweller committed Dec 16, 2024
1 parent a69ab03 commit b13df3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ const HomeAdminSectionHero: React.FC = () => {
</Button>
</>
</AdminSectionHero.Main>
<AdminSectionHero.Aside>{ <HomeStatCards /> }</AdminSectionHero.Aside>
<AdminSectionHero.Aside>
<HomeStatCards />
</AdminSectionHero.Aside>
</AdminSectionHero>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
.stat-cards-wrapper {
display: flex;
justify-content: flex-start;

> *:not( last-child ) {
margin-right: calc( var( --spacing-base ) * 3 ); // 24px
}
gap: calc( var( --spacing-base ) * 3 ); // 24px

.disabled {
opacity: 0.5;
Expand Down

0 comments on commit b13df3f

Please sign in to comment.