Skip to content

Commit

Permalink
footer positioning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timcowlishaw committed Oct 31, 2024
1 parent 10d149c commit c4f88a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 0 additions & 2 deletions app/assets/stylesheets/footer.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
footer {
width: 100%;
position: absolute;
bottom: -8px; /* I have no idea why this negative offset is needed here, nothing has any margin or anything */
a {
color: $primary;
&:hover {
Expand Down
10 changes: 9 additions & 1 deletion app/assets/stylesheets/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@ body{
background-image: image-url("sck_bg.png");
background-repeat: repeat;
background-size: 65px;
height: 100vh;
min-height: 100vh;
height: 100%;
display: flex;
flex-direction: column;
}

body > .container {
flex-grow: 1;
}


.border-thick {
border-width: 3px !important;
}
Expand Down

0 comments on commit c4f88a6

Please sign in to comment.