From 77c68a7e79de0eaab4a4e506c9797e62d95727b6 Mon Sep 17 00:00:00 2001 From: Aristeides Stathopoulos Date: Sun, 1 Feb 2015 23:27:18 +0200 Subject: [PATCH] fixes #56 (for good this time) --- assets/less/app.less | 4 ++++ views/nav.twig | 4 ++-- views/navbar-brand.twig | 7 ------- views/site-logo.twig | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 views/navbar-brand.twig diff --git a/assets/less/app.less b/assets/less/app.less index db23f78..15d0e18 100644 --- a/assets/less/app.less +++ b/assets/less/app.less @@ -339,3 +339,7 @@ textarea[rows="12"] { height: 24em; } .btn-primary; width: auto; } + +.navbar-brand > img { + max-height: 100%; +} diff --git a/views/nav.twig b/views/nav.twig index b37620d..0dbc61c 100644 --- a/views/nav.twig +++ b/views/nav.twig @@ -22,7 +22,7 @@ {% endif %} - + {% include 'navbar-search.twig' %} @@ -108,7 +108,7 @@ {{ ''|apply_filters( 'maera/header/toggler' ) }} - {% include 'navbar-brand.twig' %} + {% include 'site-logo.twig' %} diff --git a/views/navbar-brand.twig b/views/navbar-brand.twig deleted file mode 100644 index d0ededf..0000000 --- a/views/navbar-brand.twig +++ /dev/null @@ -1,7 +0,0 @@ -{% if function('function_exists', 'jetpack_the_site_logo') and function('jetpack_the_site_logo') %} - {{ function('jetpack_the_site_logo') }} -{% else %} - -{% endif %} diff --git a/views/site-logo.twig b/views/site-logo.twig index f66bd44..79e0c95 100644 --- a/views/site-logo.twig +++ b/views/site-logo.twig @@ -1,4 +1,4 @@ -