Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 81BB6200CA3 for ; Thu, 1 Jun 2017 21:46:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 806C4160BC4; Thu, 1 Jun 2017 19:46:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C524F160BC1 for ; Thu, 1 Jun 2017 21:46:48 +0200 (CEST) Received: (qmail 78251 invoked by uid 500); 1 Jun 2017 19:46:48 -0000 Mailing-List: contact commits-help@zeppelin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zeppelin.apache.org Delivered-To: mailing list commits@zeppelin.apache.org Received: (qmail 78237 invoked by uid 99); 1 Jun 2017 19:46:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2017 19:46:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C8BB1DFE61; Thu, 1 Jun 2017 19:46:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: moon@apache.org To: commits@zeppelin.apache.org Message-Id: <69a03660d5fa4d61ab722a709af8af4e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: zeppelin git commit: [ZEPPELIN-2602] fix: broken navbar-title rendering in safari Date: Thu, 1 Jun 2017 19:46:47 +0000 (UTC) archived-at: Thu, 01 Jun 2017 19:46:49 -0000 Repository: zeppelin Updated Branches: refs/heads/master e49baf79a -> 9608f4960 [ZEPPELIN-2602] fix: broken navbar-title rendering in safari ### What is this PR for? fix: broken navbar-title rendering in safari. I attached screenshots. ### What type of PR is it? [Bug Fix] ### Todos DONE ### What is the Jira issue? [ZEPPELIN-2602]() ### How should this be tested? 1. Clone apache/zeppelin 2. Build `mvn clean package -DskipTests;` 3. Open `localhost:8080` in **Safari** ### Screenshots (if appropriate) #### Before ![image](https://cloud.githubusercontent.com/assets/4968473/26576294/4dcc63fa-4563-11e7-87e0-0bc9e0d00dc1.png) #### After ![image](https://cloud.githubusercontent.com/assets/4968473/26576191/e9db8f4c-4562-11e7-9677-215140f0c852.png) ### Questions: * Does the licenses files need update? - NO * Is there breaking changes for older versions? - NO * Does this needs documentation? - NO Author: 1ambda <1amb4a@gmail.com> Closes #2378 from 1ambda/ZEPPELIN-2602/navbar-is-broken-in-safari and squashes the following commits: 947c2f7 [1ambda] fix: navbar-title rendering in safari Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/9608f496 Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/9608f496 Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/9608f496 Branch: refs/heads/master Commit: 9608f49601c6590127edd21fabacc2aa8f6bdfae Parents: e49baf7 Author: 1ambda <1amb4a@gmail.com> Authored: Tue May 30 18:06:46 2017 +0900 Committer: Lee moon soo Committed: Thu Jun 1 12:46:43 2017 -0700 ---------------------------------------------------------------------- zeppelin-web/src/components/navbar/navbar.css | 11 +++++++---- zeppelin-web/src/components/navbar/navbar.html | 5 ++--- 2 files changed, 9 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/9608f496/zeppelin-web/src/components/navbar/navbar.css ---------------------------------------------------------------------- diff --git a/zeppelin-web/src/components/navbar/navbar.css b/zeppelin-web/src/components/navbar/navbar.css index d825c67..606a618 100644 --- a/zeppelin-web/src/components/navbar/navbar.css +++ b/zeppelin-web/src/components/navbar/navbar.css @@ -16,13 +16,15 @@ /* Navbar /* ------------------------------------------- */ -.navbar-title { +.navbar-brand.navbar-title { + margin-top: -3px; + margin-right: 20px; +} + +.navbar-title > span { font-family: 'Patua One', cursive; font-size: 25px; color: white; - margin-top: 7px; - margin-right: 20px; - display: inline-block; } .navbar-menu { @@ -43,6 +45,7 @@ } .navbar-logo { + display: inline-block; padding-right: 10px; } http://git-wip-us.apache.org/repos/asf/zeppelin/blob/9608f496/zeppelin-web/src/components/navbar/navbar.html ---------------------------------------------------------------------- diff --git a/zeppelin-web/src/components/navbar/navbar.html b/zeppelin-web/src/components/navbar/navbar.html index cbff368..acbe1d6 100644 --- a/zeppelin-web/src/components/navbar/navbar.html +++ b/zeppelin-web/src/components/navbar/navbar.html @@ -20,12 +20,11 @@ limitations under the License. - - - Zeppelin + + Zeppelin