mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-18 06:24:23 +01:00
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:
@@ -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 */
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user