Fix styles for error page template

500.html template has incorrect styles for OpenStack logo. This patch
fixes margins and background image size to fit into the container.

Change-Id: Icc2af2731eb8a842c12c073474f3865709b6de2b
Closes-Bug: #1696437
(cherry picked from commit 2b3c7bdbcb)
This commit is contained in:
Ivan Kolodyazhny 2017-06-07 17:28:53 +03:00
parent 3bc399f3ae
commit bfe58d2a89
1 changed files with 2 additions and 4 deletions

View File

@ -31,14 +31,12 @@
background: none repeat scroll 0% 0% rgb(250, 250, 250);
}
div#container {
position: absolute;
top: 80px;
padding-top: 170px;
margin: 0px 0px 0px -196px;
left: 50%;
margin: 72px auto 0 auto;
width: 390px;
background: url("{% static "dashboard/img/logo.svg" %}") no-repeat scroll center 35px padding-box rgb(255, 255, 255);
background-size: 320px;
border: 1px solid rgb(225, 225, 225);
-webkit-border-radius: 6px;