Skip to content

Commit 8400735

Browse files
MalathiBalaraman31BaseMaxjbampton
authored
Update README screenshot to match current UI (#194)
* Update README screenshot to match current UI * Fix grid layout to show 4 columns at 1280px * Update README screenshot (exact 1280px width, 4 columns) * fix: show 4 columns at 1280px breakpoint * docs: update 540px screenshot to match current UI --------- Co-authored-by: Max Base <MaxBaseCode@Gmail.Com> Co-authored-by: John Bampton <jbampton@users.noreply.github.com>
1 parent 1f26b84 commit 8400735

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

-144 KB
Loading
-29.1 KB
Loading

docs/styles.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,20 @@ footer {
916916
}
917917
}
918918

919+
/* Force 4 columns at 1280px width */
920+
@media (min-width: 1280px) {
921+
.grid {
922+
justify-content: flex-start;
923+
}
924+
925+
.card {
926+
width: calc(25% - 20px);
927+
max-width: 240px;
928+
}
929+
}
930+
931+
932+
919933
/* Fine-tune mobile card widths for small breakpoints */
920934
@media (min-width: 401px) and (max-width: 540px) {
921935
.card {

0 commit comments

Comments
 (0)