Skip to content

Commit c440ee2

Browse files
committed
stick sidebar footer with a flex sidebar
1 parent ab0a867 commit c440ee2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

exampleSite/assets/scss/slate/docuapi_overrides.scss

+16
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,19 @@ $examples-bg: #002642 !default;
1111
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700&display=swap");
1212

1313
$font-default-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
14+
15+
// FLEX SIDEBAR
16+
////////////////////
17+
18+
.toc-wrapper {
19+
display: flex;
20+
flex-direction: column;
21+
}
22+
23+
#toc {
24+
flex-grow: 1;
25+
}
26+
27+
.toc-wrapper .toc-footer {
28+
margin-top: .5em;
29+
}

0 commit comments

Comments
 (0)