Skip to content

Commit abf0e81

Browse files
docs: fix footer bug on pages with left-side navigation (#1546)
* chore: Update builds to run in parallel; fix watch error * chore: Add async support for watch tasks * docs: Resolve storybook error; migrate 11ty templates * docs: Abstracting header and footer * docs: Working through rendering issue * docs: Remove build script * docs: Update mkdir logic * docs: Clean up templates * docs: Update templates for imports * docs: Updating the config * docs: Remove doc-listing-inject for now * docs: Update doc listing logic * docs: Add a way to render the TODOS are JSON * docs: Apply design suggestions from Dan * docs: Updating READMEs * docs: Updating CDN references * docs: Update package and remove spandx config * docs: Adjusting the watch script * docs: Update build script * docs: Adjust how packages are brought in so they are loaded in the head * docs: Temporarily remove packages * docs: Run build before storybook and docs * docs: Update build flow * docs: Change mkdir logic * docs: Update script for build * docs: Maintain link to demo pages in footer of production * docs: Fix parallelization in watch task * docs: Update README * docs: Update basic to move footer into main * docs: Update footer styles Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 0a549f8 commit abf0e81

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docs/_includes/_foot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% assign component = c %}
44
{% endif %}
55
{% endfor %}
6-
<footer>
6+
<footer class="basic">
77
<pfe-band color="darkest">
88
<div class="pfe-l-grid pfe-m-gutters pfe-m-all-4-col">
99
<div>

docs/_includes/layout-basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
---
66
{% include _nav.html %}
77
<main class="basic">
8-
{{ content | safe }}
8+
{{ content | safe }}
99
</main>
1010
{% include _foot.html %}
1111

docs/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ body {
1010
font-size: 1.05rem;
1111
line-height: 1.6;
1212
-webkit-font-smoothing: antialiased;
13+
}
14+
15+
body,
16+
main.basic {
1317
/* Ensures the footer stays at the bottom */
1418
display: flex;
1519
flex-direction: column;

0 commit comments

Comments
 (0)