Skip to content

Commit

Permalink
Pin footer to bottom of page
Browse files Browse the repository at this point in the history
  • Loading branch information
ZandercraftGames committed Sep 27, 2023
1 parent f7a6ed7 commit c647ffe
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Empty file added public/js/common-script.js
Empty file.
5 changes: 4 additions & 1 deletion public/stylesheets/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
body {
padding: 50px;
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

.pageContent {
padding: 50px;
}

a {
color: #00B7FF;
}
6 changes: 4 additions & 2 deletions public/stylesheets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -10889,8 +10889,10 @@ body {
min-width: 0;
flex-grow: 1;
}
#layoutError #layoutError_footer {
min-width: 0;
#layoutError_footer {
min-width: 100%;
position: absolute;
bottom: 0;
}

.img-error {
Expand Down
5 changes: 4 additions & 1 deletion views/layout.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
</head>
<body>
{{{body}}}
<div class="pageContent">
{{{body}}}
</div>

<div id="layoutError_footer">
<footer class="py-4 bg-light mt-auto">
<div class="container-fluid px-4">
Expand Down

0 comments on commit c647ffe

Please sign in to comment.