From 019520a7930406f95da0f5fc872306405a4b5098 Mon Sep 17 00:00:00 2001 From: lindhork <45235524+lindhork@users.noreply.github.com> Date: Thu, 11 Feb 2021 04:08:48 +0100 Subject: [PATCH 1/2] added padding --- client/components/main/header.jade | 4 ++-- client/components/main/header.styl | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/client/components/main/header.jade b/client/components/main/header.jade index 58da1e0df..eed2c95b7 100644 --- a/client/components/main/header.jade +++ b/client/components/main/header.jade @@ -37,7 +37,7 @@ template(name="header") img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="{{#if currentSetting.customTopLeftCornerLogoHeight}}#{currentSetting.customTopLeftCornerLogoHeight}{{else}}27{{/if}}" width="auto" margin="0" padding="0") unless currentSetting.customTopLeftCornerLogoImageUrl img(src="{{pathFor '/logo-header.png'}}" alt="") - span + span.allBoards a(href="{{pathFor 'home'}}") span.fa.fa-home | {{_ 'all-boards'}} @@ -51,7 +51,7 @@ template(name="header") a(href="{{pathFor 'board' id=_id slug=slug}}") = title else - li.current {{_ 'quick-access-description'}} + li.current.empty {{_ 'quick-access-description'}} // Next line is used only for spacing at header, // there is no visible clickable icon. diff --git a/client/components/main/header.styl b/client/components/main/header.styl index cc8f8c931..378eb00e0 100644 --- a/client/components/main/header.styl +++ b/client/components/main/header.styl @@ -102,6 +102,9 @@ z-index: 21 padding: 10px 0px + .allBoards + padding: 0 0 0 10px + #header-user-bar, #header-new-board-icon, ul li @@ -135,6 +138,9 @@ &.current color: darken(white, 5%) + &.current.empty + padding: 12px 10px 12px 10px + &:first-child .fa-home,&:nth-child(3) .fa-globe margin-right: 5px From 5c7b060f19503f161052bca7a78d5f808c006412 Mon Sep 17 00:00:00 2001 From: lindhork <45235524+lindhork@users.noreply.github.com> Date: Thu, 11 Feb 2021 13:39:51 +0100 Subject: [PATCH 2/2] moved the house icon slightly right --- client/components/main/header.styl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/components/main/header.styl b/client/components/main/header.styl index 378eb00e0..f396d69a7 100644 --- a/client/components/main/header.styl +++ b/client/components/main/header.styl @@ -216,7 +216,8 @@ .fa-home font-size: 26px margin-top: -2px - margin-right: 20px + margin-right: 10px + margin-left: 10px #header-new-board-icon display: none