Prevent scrollbar showing on pages that are smaller than the screen size (#589)

* added one pixel distance from footer to bottom to prevent scrollbar showing
This commit is contained in:
balthasar-m
2018-03-20 04:22:52 +00:00
committed by Kevin Chung
parent 4dd828a3f2
commit 935e214a09
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ body {
.footer { .footer {
position: absolute; position: absolute;
bottom: 0; bottom: 1px; /* prevent scrollbars from showing on pages that don't use the full page height */
width: 100%; width: 100%;
height: 60px; /* Set the fixed height of the footer here */ height: 60px; /* Set the fixed height of the footer here */
line-height: 60px; /* Vertically center the text there */ line-height: 60px; /* Vertically center the text there */

View File

@@ -11,7 +11,7 @@ body {
.footer { .footer {
position: absolute; position: absolute;
bottom: 0; bottom: 1px; /* prevent scrollbars from showing on pages that don't use the full page height */
width: 100%; width: 100%;
height: 60px; /* Set the fixed height of the footer here */ height: 60px; /* Set the fixed height of the footer here */
line-height: 60px; /* Vertically center the text there */ line-height: 60px; /* Vertically center the text there */