Skip to content

Commit 775d487

Browse files
liamcottamlafriks
authored andcommitted
Removes extra space from the body and footer to prevent scrolling on a page that fits into the viewport (gogs#3792)
Signed-off-by: Liam Cottam <[email protected]>
1 parent bec69f7 commit 775d487

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

public/css/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/less/_base.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pre, code {
5454
}
5555
.full.height {
5656
padding: 0;
57-
margin: 0 0 -@footer-margin*2 0;
57+
margin: 0 0 -@footer-margin 0;
5858
min-height: 100%;
5959
}
6060
.following.bar {
@@ -399,7 +399,6 @@ pre, code {
399399
}
400400

401401
footer {
402-
margin-top: @footer-margin+14px !important;
403402
height: @footer-margin;
404403
background-color: white;
405404
border-top: 1px solid #d6d6d6;

0 commit comments

Comments
 (0)