Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(): Add min height of page #354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 26, 2019
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
4 changes: 2 additions & 2 deletions src/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
---

<div class="docs">
<div class="stage">
<div class="docs__inner stage">
<div class="docs__aside stage__aside">
{% include_cached navbar/logo.html %}
{% include_cached menu/menu.html %}
Expand Down Expand Up @@ -45,7 +45,7 @@ <h1 class="page-404__heading">The page you were looking for doesn't exist.</h1>
</div>
</div>

<footer>
<footer class="docs__footer">
{% include_cached components/footer.html %}
</footer>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/_layouts/catalog.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---

<div class="docs">
<div class="stage">
<div class="docs__inner stage">
<div class="docs__aside stage__aside">
{% include_cached navbar/logo.html %}

Expand Down Expand Up @@ -50,7 +50,7 @@ <h1 id="{{ page.title | downcase }}" class="destinations__heading page__heading"
</div>
</div>

<footer>
<footer class="docs__footer">
{% include_cached components/footer.html %}
</footer>
</div>
4 changes: 2 additions & 2 deletions src/_layouts/integration.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---

<div class="docs">
<div class="stage">
<div class="docs__inner stage">
<div class="docs__aside stage__aside">
{% include_cached navbar/logo.html %}

Expand Down Expand Up @@ -95,7 +95,7 @@ <h1 id="{{ page.title | downcase }}" class="page__heading">
</div>
</div>

<footer>
<footer class="docs__footer">
{% include_cached components/footer.html %}
</footer>
</div>
4 changes: 2 additions & 2 deletions src/_layouts/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---

<div class="docs">
<div class="stage">
<div class="docs__inner stage">
<div class="docs__aside stage__aside">
{% include_cached navbar/logo.html %}

Expand All @@ -22,7 +22,7 @@
{{ content }}
</div>

<footer>
<footer class="docs__footer">
{% include_cached components/footer.html %}
</footer>
</div>
12 changes: 12 additions & 0 deletions src/_sass/pages/_docs.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
.docs {
display: flex;
flex-direction: column;
min-height: 100vh;

&__inner {
flex: 1;
}

&__footer {
flex: 0 1 auto;
}

&__aside {
position: relative;
z-index: 0;
Expand Down