Skip to content

Commit

Permalink
Use auto-fill in link-grid
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Nov 20, 2024
1 parent 64772b0 commit 6548d0b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions source/css/_common/scaffolding/tags/link-grid.styl
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@
// https://caniuse.com/mdn-css_properties_gap_grid_context
grid-gap: 1.5rem;
gap: 1.5rem;
grid-template-columns: 1fr 1fr;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
margin-bottom: 20px;
padding: 1rem;

+mobile() {
grid-template-columns: 1fr;
}

.link-grid-container {
border: solid $grey-lighter;
box-shadow: 1rem 1rem .5rem rgba(0, 0, 0, .5);
Expand Down

0 comments on commit 6548d0b

Please sign in to comment.