File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787 grid-area : e;
8888}
8989
90- @media (max-width : 1280 px ) {
90+ @media (max-width : 1279 px ) {
9191 /* Narrower layouts keep the original grid; the column wrappers dissolve so
9292 the cards are grid items again. */
9393 .card-masonry {
112112 }
113113}
114114
115- @media (max-width : 768 px ) {
115+ @media (max-width : 767 px ) {
116116 .card-row {
117117 grid-template-columns : repeat (1 , 1fr );
118118 }
135135 max-width : none;
136136 }
137137}
138+
139+ /* Tablet only: the design stacks the three sentences one per line, but the
140+ header's 50% cap swings from 361px to 616px across this range, so no font
141+ size makes natural wrapping land on the sentence breaks. Force the breaks and
142+ step the size down to fit the narrowest column. Desktop and mobile keep their
143+ natural wrapping. */
144+ @media (min-width : 768px ) and (max-width : 1279px ) {
145+ .learn-page-header h1 {
146+ font-size : var (--font-size-2xl );
147+ }
148+
149+ .learn-page-header h1 span {
150+ display : block;
151+ }
152+ }
Original file line number Diff line number Diff line change 1414{% block content %}
1515 < div class ="learn-page-container ">
1616 < div class ="learn-page-header py-large ">
17- < h1 > Start anywhere. Learn everything. Build anything.</ h1 >
17+ < h1 > < span > Start anywhere.</ span > < span > Learn everything.</ span > < span > Build anything.</ span > </ h1 >
1818 < p > A complete, well-documented ecosystem of modern libraries-designed to grow with you.</ p >
1919 </ div >
2020 < div class ="card-row py-large ">
You can’t perform that action at this time.
0 commit comments