Skip to content

Commit 3a3fe73

Browse files
committed
Grid: Resolved issue with grid on mobile
1 parent 1e7d0fa commit 3a3fe73

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

assets/css/v2/style.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,9 @@ ol li:last-child {
360360
@media (max-width: 68rem) {
361361
grid-template-columns: 1fr;
362362
grid-template-areas:
363-
"sidebar header"
364-
"sidebar content"
365-
"sidebar footer";
363+
"header"
364+
"content"
365+
"footer";
366366

367367
.text-content {
368368
margin-top: 1rem;
@@ -906,6 +906,7 @@ nav {
906906
position: relative;
907907
display: block;
908908
max-width: 100%;
909+
margin-top: 1rem;
909910
}
910911
}
911912
}

layouts/redoc/single.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{{ define "main" }}
22

33
<main class="content content__redocly">
4+
<div class="breadcrumb-layout">{{ partial "breadcrumb" . }}</div>
45
<div id="api-component">{{ .Content}}</div>
56
</main>
67

0 commit comments

Comments
 (0)