Skip to content

Commit 4564e31

Browse files
committed
PR feedback: Adjust why card size, header width, and grid layout on tablet
1 parent 0360847 commit 4564e31

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

static/css/v3/learn-page.css

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.learn-page-header {
22
width: 100%;
3-
max-width: 696px;
3+
max-width: calc(50% - .5 * var(--space-card));
44
display: flex;
55
flex-direction: column;
66
gap: var(--space-xl);
@@ -85,10 +85,11 @@
8585
grid-template-columns: repeat(2, 1fr);
8686
grid-template-areas:
8787
"a b"
88-
"a c"
89-
"e c"
90-
"e d"
91-
". d"
88+
"a d"
89+
"c d"
90+
"c d"
91+
"c e"
92+
"c ."
9293
;
9394
}
9495

@@ -99,10 +100,6 @@
99100
.post-cards {
100101
max-width: 100%;
101102
}
102-
103-
.learn-page-header {
104-
max-width: 488px;
105-
}
106103
}
107104

108105
@media (max-width: 768px) {

static/css/v3/why-boost-cards.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
.why-boost-cards__heading {
77
margin: 0 0 var(--space-large);
8-
font-size: var(--font-size-medium);
8+
font-size: var(--font-size-large);
99
font-weight: var(--font-weight-medium);
1010
font-family: var(--font-display);
1111
}

templates/v3/learn_page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{% block content %}
1414
<div class="px-large">
1515
<div class="learn-page-header py-large">
16-
<h1>Start Anywhere. Learn Everything. Build Anything</h1>
16+
<h1>Start anywhere. Learn everything. Build anything</h1>
1717
<p>A complete, well-documented ecosystem of modern libraries-designed to grow with you.</p>
1818
</div>
1919
<div class="card-row py-large">

0 commit comments

Comments
 (0)