Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VK] Updated global header component with some additional required styles #584

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
font-size: 2.7rem;
}

font-family: $context--font-family-serif;
3697varun marked this conversation as resolved.
Show resolved Hide resolved
font-family: serif; // Font-family updated to serif
line-height: 4.6rem;
font-size: 2rem;
font-size: 1.5rem;
white-space: nowrap; // Added no-wrap for logo title
color: color('black');
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.c-header__content {
position: relative;
display: flex;
justify-content: space-between;

Copy link
Contributor

@jon-stevens jon-stevens Oct 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The flex rule kicks in with the media query just below.
the following should be added to the README

@import '@springernature/brand-context/default/scss/10-settings/breakpoints';
@import '@springernature/brand-context/default/scss/30-mixins/media-query';```

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are done in README

@include media-query('sm') {
display: flex;
Expand All @@ -22,6 +24,7 @@

.c-header__site-logo {
padding-right: 20px;
border-right: 2px solid #222; // For SNAPP logo border-right
3697varun marked this conversation as resolved.
Show resolved Hide resolved
}

.c-header__journal-logo {
Expand Down