From bfe58d2a89b7d43bd58d8e92c98c9f134831a14c Mon Sep 17 00:00:00 2001 From: Ivan Kolodyazhny Date: Wed, 7 Jun 2017 17:28:53 +0300 Subject: [PATCH] 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 2b3c7bdbcb1202019e89d701d870013c56eb3b05) --- openstack_dashboard/templates/500.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/openstack_dashboard/templates/500.html b/openstack_dashboard/templates/500.html index 6037fb6e2..66258203d 100644 --- a/openstack_dashboard/templates/500.html +++ b/openstack_dashboard/templates/500.html @@ -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;