From c2f4f1a24b419654cdf657e06ffbc84af7f37d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20L=C3=B6vgren?= Date: Thu, 2 Feb 2017 21:11:32 +0000 Subject: [PATCH 1/2] Remove inline style for logo on docs layout The inline style is not required as it's already in the external stylesheet. It also prevents the logo from rendering in 2x. --- src/main/scala/microsites/layouts/DocsLayout.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/microsites/layouts/DocsLayout.scala b/src/main/scala/microsites/layouts/DocsLayout.scala index cd0ce286..7675ccd7 100644 --- a/src/main/scala/microsites/layouts/DocsLayout.scala +++ b/src/main/scala/microsites/layouts/DocsLayout.scala @@ -80,7 +80,7 @@ class DocsLayout(config: MicrositeSettings) extends Layout(config) { ul(id := "sidebar", cls := "sidebar-nav", li(cls := "sidebar-brand", a(href := "{{ site.baseurl }}/", cls := "brand", - div(cls := "brand-wrapper", style := "background:url('{{site.baseurl}}/img/sidebar_brand.png') no-repeat", span(config.identity.name)) + div(cls := "brand-wrapper", span(config.identity.name)) ) ), "{% if site.data.menu.options %}", From 235b2cec965a4272216ebc48bc675d4671303e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20L=C3=B6vgren?= Date: Thu, 2 Feb 2017 21:12:45 +0000 Subject: [PATCH 2/2] Remove inline style for logo on page layout The inline style is not required as it's already in the external stylesheet. It also prevents the logo from rendering in 2x. --- src/main/scala/microsites/layouts/PageLayout.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/scala/microsites/layouts/PageLayout.scala b/src/main/scala/microsites/layouts/PageLayout.scala index d216b69c..90d364ef 100644 --- a/src/main/scala/microsites/layouts/PageLayout.scala +++ b/src/main/scala/microsites/layouts/PageLayout.scala @@ -55,7 +55,6 @@ class PageLayout(config: MicrositeSettings) extends Layout(config) { a(href := "{{ site.baseurl }}/", cls := "brand", div(cls := "icon-wrapper", - style := "background:url('{{site.baseurl}}/img/navbar_brand.png') no-repeat", span(config.identity.name)))), buildCollapseMenu)), div(cls := "jumbotron",