Skip to content

Commit 4fe371b

Browse files
author
Kayla Wilkins
committed
hiding sidebar on small screens, making width full width instead
1 parent 529c273 commit 4fe371b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/components/2_molecules/search-header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const SearchHeader = () => (
1212
}
1313
`}
1414
render={data => (
15-
<header className="mb-4">
15+
<header className="md:mb-4">
1616
<Search searchIndex={data.siteSearchIndex.index} />
1717
</header>
1818
)}

src/css/components/4_pages/api-page.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
.layout-fixed .sidebar-container {
22
overflow-y: hidden;
3+
width: 100%;
34
}
45

56
.api-navigation-wrapper {
6-
padding: 1.2rem;
7+
padding: 1.2rem 1.2rem 0;
78
overflow-y: scroll;
89
width: 100%;
910
height: 100%;
@@ -80,7 +81,7 @@
8081
}
8182

8283
.list-container {
83-
margin-bottom: 12px;
84+
display: none;
8485
}
8586

8687
.response-200 {
@@ -121,6 +122,7 @@
121122
}
122123

123124
.list-container {
125+
display: inline-block;
124126
margin-bottom: 0;
125127
}
126128

0 commit comments

Comments
 (0)