Skip to content
Snippets Groups Projects
Commit b2a84843 authored by shamalainen's avatar shamalainen
Browse files

Update logo label sizing to match the design

parent 5d5bedc5
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
width: 90%; width: 90%;
z-index: 100; z-index: 100;
@include breakpoint($medium) { @include breakpoint($narrow) {
width: 400px; width: 400px;
} }
} }
...@@ -112,13 +112,8 @@ ...@@ -112,13 +112,8 @@
svg { svg {
height: 24px; height: 24px;
margin-left: 4px;
width: 24px; width: 24px;
@include breakpoint($narrow) {
margin-left: 8px;
}
@include breakpoint($medium) { @include breakpoint($medium) {
width: 20px; width: 20px;
} }
......
...@@ -27,6 +27,13 @@ a { ...@@ -27,6 +27,13 @@ a {
margin-left: 8px; margin-left: 8px;
max-width: 100%; max-width: 100%;
text-transform: uppercase; text-transform: uppercase;
max-width: 90px;
.hy-site-header__logo-container & {
@include breakpoint($narrow) {
max-width: none;
}
}
@include breakpoint($narrow) { @include breakpoint($narrow) {
@include font-size(15px, 16px); @include font-size(15px, 16px);
......
...@@ -4,7 +4,7 @@ import {ColorVariant, SiteLogoSize} from '../../../utils/utils'; ...@@ -4,7 +4,7 @@ import {ColorVariant, SiteLogoSize} from '../../../utils/utils';
@Component({ @Component({
tag: 'hy-site-logo', tag: 'hy-site-logo',
styleUrl: 'site-logo.scss', styleUrl: 'site-logo.scss',
shadow: true, shadow: false,
}) })
export class SiteLogo { export class SiteLogo {
@Prop() color: ColorVariant = ColorVariant.black; @Prop() color: ColorVariant = ColorVariant.black;
......
...@@ -33,16 +33,16 @@ ...@@ -33,16 +33,16 @@
&__label { &__label {
@include font-size(14px, 14px); @include font-size(14px, 14px);
@include font-weight($bold); @include font-weight($bold);
color: var(--site-logo-color); color: var(--site-logo-color);
display: none; display: none;
display: none;
font-family: var(--main-font-family); font-family: var(--main-font-family);
letter-spacing: -0.9px; letter-spacing: -0.9px;
margin-left: 4px; margin-left: 4px;
visibility: hidden;
@include breakpoint($narrow) { @include breakpoint($narrow) {
@include font-size(15px, 16px); @include font-size(15px, 16px);
display: block;
margin-left: 4px; margin-left: 4px;
margin-right: 8px; margin-right: 8px;
text-transform: uppercase; text-transform: uppercase;
...@@ -50,8 +50,10 @@ ...@@ -50,8 +50,10 @@
@include breakpoint($wide) { @include breakpoint($wide) {
@include font-size(14px); @include font-size(14px);
display: block;
font-weight: 600; font-weight: 600;
text-transform: none; text-transform: none;
visibility: visible;
} }
@include breakpoint($extrawide) { @include breakpoint($extrawide) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment