Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion assets/css/v2/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ nav {
z-index: 9999;
}

@media (max-width: 1512px) {
@media (max-width: 1528px) {
.sidebar-layout {
display: none;
}
Expand Down Expand Up @@ -277,6 +277,7 @@ nav {
display: grid;
grid-template-rows: repeat(2, auto);
column-gap: var(--component-gap);
max-width: 100%;
}

.breadcrumb-layout {
Expand Down Expand Up @@ -348,6 +349,23 @@ nav {
}
}

.api {
margin: 2rem 0 2rem 2rem;
width: 100%;
.row {
display: grid !important;
}

.nginx-docs-api-container {
grid-column: 1 / -1 !important;
max-width: 100% !important;
}

.content-layout {
grid-template-columns: 1fr var(--side-gutter-width);
}
}

.main {
display: flex;
}
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
});

// swap out v1 and v2 elements
const v1ElementIds = ["sidebar", "footer", "toc"];
const v1ElementIds = ["sidebar", "footer", "toc", "api"]

v1ElementIds.forEach((elementId) => {
const element = document.getElementById(elementId);
Expand Down
Loading