From 1df83e8853841efc5bd66ef613aca9f96d0350ac Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Mon, 13 Jun 2016 14:08:09 -0400 Subject: [PATCH] Align logo in API browser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By default, bootstrap pads the “navbar-brand” element with 15px, and sets margin-left to -15px. Since we had removed all the padding, it meant that the logo was -15px to the left of the main page margin. --- awx/static/api/api.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/static/api/api.css b/awx/static/api/api.css index a3f57a773d..051921489b 100644 --- a/awx/static/api/api.css +++ b/awx/static/api/api.css @@ -36,9 +36,10 @@ body .navbar { background-color: #FFFFFF; border-color: #E8E8E8; } -body .navbar .navbar-brand { +body .navbar > .container .navbar-brand, .navbar { color: #707070; padding: 0; + margin-left: 0px; font-size: 14px; } body .navbar .navbar-brand:focus,