Skip to content

Commit ebd6afd

Browse files
committed
roadmap: 2x2 grid instead of 3-per-row
Previous CSS used 3-column grid which left the 4th roadmap item (Programmatic API access) orphaned on its own row after the 6->4 restructure. Switch to a 2-column grid with max-width 900px so the four items render as a balanced 2x2 block. Mobile breakpoint (<=768px) stays single-column.
1 parent 76da5ce commit ebd6afd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

static/css/science-live.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3021,9 +3021,10 @@ section[id] {
30213021

30223022
.sl-roadmap-grid {
30233023
display: grid;
3024-
grid-template-columns: repeat(3, 1fr);
3024+
grid-template-columns: repeat(2, 1fr);
30253025
gap: 1.5rem;
3026-
margin-top: 2rem;
3026+
margin: 2rem auto 0;
3027+
max-width: 900px;
30273028
}
30283029

30293030
.sl-roadmap-item {

0 commit comments

Comments
 (0)