Skip to content

Commit 999a054

Browse files
committed
api display
1 parent fae12d6 commit 999a054

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h1 class="site-name">
142142
</nav>
143143
</aside>
144144

145-
<main class="content">
145+
<main class="content {% if page.layout == 'api-swagger' %}content--full{% endif %}">
146146

147147
{{ content }}
148148

assets/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,10 @@ API layout
452452
display: none;
453453
}
454454

455+
.content--full {
456+
max-width: none;
457+
}
458+
455459
.content:has(.swagger-wrapper) {
456460
max-width: none;
457461
}

0 commit comments

Comments
 (0)