From aa53763b987c4c89e3d1198bd6b36c14e436db7a Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Wed, 22 Jul 2015 11:48:13 +0200 Subject: [PATCH] Fix peeping tom on 404 error page closes #6226 --- Changelog.md | 1 + app/assets/stylesheets/error_pages.scss | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index f3525322f..7b50178ff 100644 --- a/Changelog.md +++ b/Changelog.md @@ -5,6 +5,7 @@ ## Bug fixes * Fix indentation and a link title on the default home page [#6212](https://github.com/diaspora/diaspora/pull/6212) +* Bring peeping Tom on the 404 page back [#6226](https://github.com/diaspora/diaspora/pull/6226) ## Features diff --git a/app/assets/stylesheets/error_pages.scss b/app/assets/stylesheets/error_pages.scss index 452352e65..59ac55d58 100644 --- a/app/assets/stylesheets/error_pages.scss +++ b/app/assets/stylesheets/error_pages.scss @@ -1,6 +1,8 @@ @import 'colors'; @import 'mixins'; +html { min-height: 100%; } + #big-number { font-family: Roboto-BoldCondensed, Helvetica, Arial, sans-serif; font-size: 250px; @@ -27,7 +29,6 @@ #error_404 { width: 100%; height: 100%; - position: fixed; bottom:0px; margin: 0px; font-family: Roboto, Helvetica, Arial, sans-serif; @@ -35,6 +36,7 @@ text-shadow: 0 1px 0 #fff; color: #666; background: image-url("peeping-tom.png") no-repeat bottom; + background-attachment: fixed; #big-number { font-family: Roboto-BoldCondensed, Helvetica, Arial, sans-serif;