File tree Expand file tree Collapse file tree 1 file changed +22
-17
lines changed Expand file tree Collapse file tree 1 file changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -204,10 +204,7 @@ nav {
204
204
205
205
.content-layout {
206
206
display: grid;
207
- grid-template-columns: var(--text-content-width-iphone-13) var(
208
- --side-gutter-width
209
- );
210
- column-gap: var(--component-gap);
207
+ grid-template-columns: var(--text-content-width-iphone-13);
211
208
}
212
209
213
210
.docs-container {
@@ -220,12 +217,6 @@ nav {
220
217
z-index: 9999;
221
218
}
222
219
223
- @media (max-width: 1528px) {
224
- .sidebar-layout {
225
- display: none;
226
- }
227
- }
228
-
229
220
#searchbox {
230
221
width: 24rem;
231
222
display: none;
@@ -272,13 +263,13 @@ nav {
272
263
width: 100%;
273
264
}
274
265
275
- @media (min-width: 1512px) {
276
- /* Macbook Pro 14 */
277
- .base-layout {
266
+ @media (min-width: 1185px) {
267
+ .main-layout {
278
268
display: grid;
279
- grid-template-rows: repeat(2, auto);
269
+ grid-template-columns: var(--sidebar-width) var(
270
+ --text-content-width-iphone-13
271
+ );
280
272
column-gap: var(--component-gap);
281
- max-width: 100%;
282
273
}
283
274
284
275
.breadcrumb-layout {
@@ -287,6 +278,21 @@ nav {
287
278
column-gap: var(--component-gap);
288
279
align-items: center;
289
280
}
281
+ }
282
+ @media (max-width: 1184px) {
283
+ .sidebar-layout {
284
+ display: none;
285
+ }
286
+ }
287
+
288
+ @media (min-width: 1512px) {
289
+ /* Macbook Pro 14 */
290
+ .base-layout {
291
+ display: grid;
292
+ grid-template-rows: repeat(2, auto);
293
+ column-gap: var(--component-gap);
294
+ max-width: 100%;
295
+ }
290
296
291
297
.text-content {
292
298
grid-template-columns: var(--text-content-width-mbp-14) var(
@@ -652,8 +658,7 @@ nav {
652
658
/* content */
653
659
main {
654
660
flex: 1;
655
- max-width: 50rem;
656
- min-width: 40rem;
661
+ min-width: 30rem;
657
662
margin: 2rem 2rem;
658
663
}
659
664
You can’t perform that action at this time.
0 commit comments