From 80004204c13bec5ba6b25e79c492467f73fc54b6 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 23 Apr 2019 13:17:49 +0000 Subject: [PATCH] Set logo height rather than width We're setting the width in the CSS, but the new logo has different proportions than the old one, so a width of 200 is still leaving the logo a bit tall. Switch to setting height, (which was coming out to 51.4 with a width of 200) and shrink it a bit to make it better match the rest of the top title bar. Change-Id: I43d6375451916b0f72d9cd5df1394ad47e2e99b8 --- modules/openstack_project/files/gerrit/GerritSite.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/files/gerrit/GerritSite.css b/modules/openstack_project/files/gerrit/GerritSite.css index a2737dc2a8..c1c9d47575 100644 --- a/modules/openstack_project/files/gerrit/GerritSite.css +++ b/modules/openstack_project/files/gerrit/GerritSite.css @@ -4,7 +4,7 @@ a:hover {color: #000 !important; text-decoration: underline} a.gwt-InlineHyperlink {background: none !important} -#openstack-logo img { width: 200px; } +#openstack-logo img { height: 40px; } #openstack-logo h1 { margin: 20px; } #gerrit_header #openstack-logo h1 { margin: 20px 0 0 0; }