File tree Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ nav {
220
220
z-index : 9999 ;
221
221
}
222
222
223
- @media (max-width : 1512 px ) {
223
+ @media (max-width : 1528 px ) {
224
224
.sidebar-layout {
225
225
display : none;
226
226
}
@@ -278,6 +278,7 @@ nav {
278
278
display : grid;
279
279
grid-template-rows : repeat (2 , auto);
280
280
column-gap : var (--component-gap );
281
+ max-width : 100% ;
281
282
}
282
283
283
284
.breadcrumb-layout {
@@ -349,6 +350,23 @@ nav {
349
350
}
350
351
}
351
352
353
+ .api {
354
+ margin : 2rem 0 2rem 2rem ;
355
+ width : 100% ;
356
+ .row {
357
+ display : grid !important ;
358
+ }
359
+
360
+ .nginx-docs-api-container {
361
+ grid-column : 1 / -1 !important ;
362
+ max-width : 100% !important ;
363
+ }
364
+
365
+ .content-layout {
366
+ grid-template-columns : 1fr var (--side-gutter-width );
367
+ }
368
+ }
369
+
352
370
.main {
353
371
display : flex;
354
372
}
@@ -360,6 +378,8 @@ nav {
360
378
position : sticky;
361
379
top : 0 ;
362
380
height : 100vh ;
381
+ margin-top : -1rem ;
382
+ padding-top : 1rem ;
363
383
}
364
384
365
385
.sidebar .product-selector-button {
@@ -385,7 +405,8 @@ nav {
385
405
position : absolute;
386
406
top : 0 ;
387
407
min-width : 80% ;
388
- margin-left : 46rem ;
408
+ margin-top : 1rem ;
409
+ margin-left : 44rem ;
389
410
padding : 1rem 1.5rem ;
390
411
background-color : white;
391
412
border : black 1px solid;
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