]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6152 add padding around logo 74/head
authorStas Vilchik <vilchiks@gmail.com>
Thu, 19 Feb 2015 13:49:51 +0000 (14:49 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 19 Feb 2015 13:49:51 +0000 (14:49 +0100)
server/sonar-web/src/main/hbs/nav/nav-global-navbar.hbs
server/sonar-web/src/main/less/components/navbar.less

index 19d5ee7944482a261041c6ab2efbf9155f2f03aa..88b6e8edbc52539a7b5f87873257e16d1a2136f3 100644 (file)
@@ -1,6 +1,6 @@
 <div class="container">
   <div class="navbar-header">
-    <a class="navbar-brand" href="{{link '/'}}">
+    <a class="navbar-brand {{#if logoUrl}}navbar-brand-custom{{/if}}" href="{{link '/'}}">
       {{#if logoUrl}}
         <img src="{{logoUrl}}" {{#if logoWidth}}width="{{logoWidth}}"{{/if}} height="30"
              alt="{{t 'layout.sonar.slogan'}}" title="{{t 'layout.sonar.slogan'}}">
index 605f50f3d6113267730290dc26f3e2da136f2745..ebba290e748b8ccc04fefa22f9177942528403cf 100644 (file)
   }
 }
 
+.navbar-brand-custom {
+  padding: 0 10px;
+}
+
 .navbar-nav {
   float: left;
 }