Skip to content

Commit

Permalink
Removes extra space from the body and footer to prevent scrolling on …
Browse files Browse the repository at this point in the history
…a page that fits into the viewport (go-gitea#3792)

Signed-off-by: Liam Cottam <killtheidols@hotmail.co.uk>
  • Loading branch information
liamcottam authored and lafriks committed Apr 16, 2018
1 parent bec69f7 commit 775d487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/css/index.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions public/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pre, code {
}
.full.height {
padding: 0;
margin: 0 0 -@footer-margin*2 0;
margin: 0 0 -@footer-margin 0;
min-height: 100%;
}
.following.bar {
Expand Down Expand Up @@ -399,7 +399,6 @@ pre, code {
}

footer {
margin-top: @footer-margin+14px !important;
height: @footer-margin;
background-color: white;
border-top: 1px solid #d6d6d6;
Expand Down

0 comments on commit 775d487

Please sign in to comment.