File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ nav {
219
219
z-index : 9999 ;
220
220
}
221
221
222
- @media (max-width : 1512 px ) {
222
+ @media (max-width : 1528 px ) {
223
223
.sidebar-layout {
224
224
display : none;
225
225
}
@@ -277,6 +277,7 @@ nav {
277
277
display : grid;
278
278
grid-template-rows : repeat (2 , auto);
279
279
column-gap : var (--component-gap );
280
+ max-width : 100% ;
280
281
}
281
282
282
283
.breadcrumb-layout {
@@ -348,6 +349,23 @@ nav {
348
349
}
349
350
}
350
351
352
+ .api {
353
+ margin : 2rem 0 2rem 2rem ;
354
+ width : 100% ;
355
+ .row {
356
+ display : grid !important ;
357
+ }
358
+
359
+ .nginx-docs-api-container {
360
+ grid-column : 1 / -1 !important ;
361
+ max-width : 100% !important ;
362
+ }
363
+
364
+ .content-layout {
365
+ grid-template-columns : 1fr var (--side-gutter-width );
366
+ }
367
+ }
368
+
351
369
.main {
352
370
display : flex;
353
371
}
Original file line number Diff line number Diff line change 57
57
} ) ;
58
58
59
59
// swap out v1 and v2 elements
60
- const v1ElementIds = [ "sidebar" , "footer" , "toc" ] ;
60
+ const v1ElementIds = [ "sidebar" , "footer" , "toc" , "api" ]
61
61
62
62
v1ElementIds . forEach ( ( elementId ) => {
63
63
const element = document . getElementById ( elementId ) ;
You can’t perform that action at this time.
0 commit comments