Skip to content

Instantly share code, notes, and snippets.

@danielkuhlwein
Created June 6, 2018 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielkuhlwein/690d5a7c94df5a31d57583feeca2e564 to your computer and use it in GitHub Desktop.
Save danielkuhlwein/690d5a7c94df5a31d57583feeca2e564 to your computer and use it in GitHub Desktop.
Layer Header 2 CSS
// 2nd Level
.header.header-short {
height: 75px;
}
/* Set header height tall only when mobile to fit
buttons below title */
@media (max-width: 768px) {
.header.header-short:not(.header-just-title) {
height: 120px;
}
}
.header.header-short span button.mat-raised-button {
width: 100%;
border-radius: 0px;
height: 45px;
}
.header.header-short div.d-xs-flex .title {
height: 75px;
}
.header-shorter {
margin-top: -75px;
}
.header-shorter .close-layer .mat-icon {
margin-top: auto;
margin-bottom: 7px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment