Merge pull request #3559 from lindhork/header_padding

added padding
This commit is contained in:
Lauri Ojansivu 2021-02-11 16:21:51 +02:00 committed by GitHub
commit e3a29ae82f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

View file

@ -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") img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="{{#if currentSetting.customTopLeftCornerLogoHeight}}#{currentSetting.customTopLeftCornerLogoHeight}{{else}}27{{/if}}" width="auto" margin="0" padding="0")
unless currentSetting.customTopLeftCornerLogoImageUrl unless currentSetting.customTopLeftCornerLogoImageUrl
img(src="{{pathFor '/logo-header.png'}}" alt="") img(src="{{pathFor '/logo-header.png'}}" alt="")
span span.allBoards
a(href="{{pathFor 'home'}}") a(href="{{pathFor 'home'}}")
span.fa.fa-home span.fa.fa-home
| {{_ 'all-boards'}} | {{_ 'all-boards'}}
@ -51,7 +51,7 @@ template(name="header")
a(href="{{pathFor 'board' id=_id slug=slug}}") a(href="{{pathFor 'board' id=_id slug=slug}}")
= title = title
else else
li.current {{_ 'quick-access-description'}} li.current.empty {{_ 'quick-access-description'}}
// Next line is used only for spacing at header, // Next line is used only for spacing at header,
// there is no visible clickable icon. // there is no visible clickable icon.

View file

@ -102,6 +102,9 @@
z-index: 21 z-index: 21
padding: 10px 0px padding: 10px 0px
.allBoards
padding: 0 0 0 10px
#header-user-bar, #header-user-bar,
#header-new-board-icon, #header-new-board-icon,
ul li ul li
@ -135,6 +138,9 @@
&.current &.current
color: darken(white, 5%) color: darken(white, 5%)
&.current.empty
padding: 12px 10px 12px 10px
&:first-child .fa-home,&:nth-child(3) .fa-globe &:first-child .fa-home,&:nth-child(3) .fa-globe
margin-right: 5px margin-right: 5px
@ -210,7 +216,8 @@
.fa-home .fa-home
font-size: 26px font-size: 26px
margin-top: -2px margin-top: -2px
margin-right: 20px margin-right: 10px
margin-left: 10px
#header-new-board-icon #header-new-board-icon
display: none display: none