Skip to content

Commit

Permalink
SOEOPSFY24-22 (#310)
Browse files Browse the repository at this point in the history
* Proposed solution to card grid with few items

* Incorporated feedback from Jen

* Added flex-wrap
  • Loading branch information
imonroe authored Apr 8, 2024
1 parent 4be222c commit 20b9b6e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion themes/soe_basic/dist/css/theme.css

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions themes/soe_basic/src/scss/theme/_events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -289,3 +289,17 @@
margin-top: 0;
}
}

// Event List paragraph, card view.
.view.stanford-events.cards {
.su-list-unstyled.grid-container-3 {
display: flex;
justify-content: flex-start;
gap: 1em;
flex-wrap: wrap;

li {
flex: 1 1 min-content;
}
}
}

0 comments on commit 20b9b6e

Please sign in to comment.