Skip to content

Commit f362d0b

Browse files
committed
Grid: Center justify text content
1 parent 78599a2 commit f362d0b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

assets/css/v2/style.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,14 @@ nav {
450450

451451
.content-layout {
452452
display: grid;
453-
grid-template-columns: var(--grid-content) var(--grid-side-callout);
453+
grid-template-columns: 1fr minmax(
454+
auto,
455+
calc(
456+
var(--grid-content) +
457+
var(--grid-side-callout) +
458+
var(--grid-column-gutter)
459+
)
460+
) 1fr;
454461
column-gap: var(--grid-column-gutter);
455462
}
456463

0 commit comments

Comments
 (0)