Skip to content

Commit

Permalink
CSS changes to fix regression issue with 404 / error page
Browse files Browse the repository at this point in the history
* refs TryGhost#5314
* the error message is once again centered in both the frontend and admin panel
  • Loading branch information
morficus committed May 31, 2015
1 parent fc0e1d7 commit c40c88b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions core/client/app/styles/layouts/error.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@
/* ---------------------------------------------------------- */

.error-content {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: table;
margin: 0 auto;
padding: 0;
max-width: 530px;
height: 100%;
user-select: text;
}

.error-content {
user-select: text;
.gh-main .error-content {
margin: auto;
}

@media (max-width: 630px) {
Expand Down

0 comments on commit c40c88b

Please sign in to comment.