diff --git a/core/css/styles.css b/core/css/styles.css
index 26aaa1be944c6f0b2c08177d552d81a408dbef7d..d21e6bc69073bdcbe5365c08745f94ac4c1abcaa 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -352,9 +352,9 @@ input[type="submit"].enabled {
 #body-login #header {
 	padding-top: 100px;
 }
-/* Fix background gradient */
 #body-login {
-	background-attachment: fixed;
+	background-attachment: fixed; /* fix background gradient */
+	height: 100%; /* fix sticky footer */
 }
 
 /* Dark subtle label text */