summaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorLiam Cottam <killtheidols@hotmail.co.uk>2018-04-16 05:04:36 +0100
committerLauris BH <lauris@nix.lv>2018-04-16 07:04:36 +0300
commit775d487557bb511d8f58e82e7a890c55348e2801 (patch)
treedbd2c77cbf9a4364d3ea7f5ed669efac171b9d68 /public/less
parentbec69f702ba8ecdc9a77db34ff94b7e55879be59 (diff)
downloadgitea-775d487557bb511d8f58e82e7a890c55348e2801.tar.gz
gitea-775d487557bb511d8f58e82e7a890c55348e2801.zip
Removes extra space from the body and footer to prevent scrolling on a page that fits into the viewport (#3792)
Signed-off-by: Liam Cottam <killtheidols@hotmail.co.uk>
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_base.less3
1 files changed, 1 insertions, 2 deletions
diff --git a/public/less/_base.less b/public/less/_base.less
index 1f37ba1887..95b23e2a85 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -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 {
@@ -399,7 +399,6 @@ pre, code {
}
footer {
- margin-top: @footer-margin+14px !important;
height: @footer-margin;
background-color: white;
border-top: 1px solid #d6d6d6;