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 {
219219 z-index : 9999 ;
220220}
221221
222- @media (max-width : 1512 px ) {
222+ @media (max-width : 1528 px ) {
223223 .sidebar-layout {
224224 display : none;
225225 }
@@ -277,6 +277,7 @@ nav {
277277 display : grid;
278278 grid-template-rows : repeat (2 , auto);
279279 column-gap : var (--component-gap );
280+ max-width : 100% ;
280281 }
281282
282283 .breadcrumb-layout {
@@ -348,6 +349,23 @@ nav {
348349 }
349350}
350351
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+
351369.main {
352370 display : flex;
353371}
Original file line number Diff line number Diff line change 5757 } ) ;
5858
5959 // swap out v1 and v2 elements
60- const v1ElementIds = [ "sidebar" , "footer" , "toc" ] ;
60+ const v1ElementIds = [ "sidebar" , "footer" , "toc" , "api" ]
6161
6262 v1ElementIds . forEach ( ( elementId ) => {
6363 const element = document . getElementById ( elementId ) ;
You can’t perform that action at this time.
0 commit comments