Fixed small logo css

This commit is contained in:
Asaf Gartner 2022-10-20 13:45:57 +03:00
parent a6ad01143a
commit 851f9e0f67
3 changed files with 5 additions and 13 deletions

View File

@ -8801,15 +8801,12 @@ header .hmn-logo {
width: 3.75rem;
padding: 0.8rem;
text-align: justify;
text-align-last: justify;
text-justify: inter-character;
flex-direction: column;
font-size: 1rem;
line-height: 1em;
align-items: stretch; }
header .hmn-logo.small div::after {
content: '';
display: inline-block;
width: 100%; } }
align-items: stretch; } }
header .items {
position: relative; }

View File

@ -24,17 +24,12 @@ header {
width: $logo-height;
padding: 0.8rem;
text-align: justify;
text-align-last: justify;
text-justify: inter-character;
flex-direction: column;
font-size: 1rem;
line-height: 1em;
align-items: stretch;
div::after {
content: '';
display: inline-block;
width: 100%;
}
}
}
}

View File

@ -30,8 +30,8 @@
{{ $itemsClass := "items self-stretch flex items-center justify-center justify-start-ns ml2-ns ml3-l" }}
{{ if .Header.Project }}
<a href="{{ .Header.HMNHomepageUrl }}" class="hmn-logo small bg-theme-dark flex-shrink-0">
<div>Hand</div>
<div>made</div>
Hand
made
</a>
<a href="{{ .Project.Url }}" class="flex-shrink-0">
<h2 class="mb0 mt2 mt0-ns mh3 mr0-ns tc tl-ns">{{ .Project.Name }}</h2>