Skip to content
Discussion options

You must be logged in to vote

It must be ugly to the CSS people but just in case it can be helpful, so far I have managed to get something working with:

@media only screen and (max-width: 501px) {
    .md-header__inner {
        padding: 1rem .2rem;
    }
    [dir=ltr] .md-header__title {
        margin-left: .4rem;
    }
    .md-header__title {
        line-height: unset;
    }
    .md-header__topic {
        white-space: unset;
    }
    .md-nav--primary .md-nav__title {
        padding: 3.5rem .8rem .2rem;
        height: unset;
        line-height: unset;
        white-space: unset;
    }
    .md-header__title--active {
        height: 2.4rem;
        line-height: 2.4rem;
        white-space: nowrap;
    }
}

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@ultrabug
Comment options

@squidfunk
Comment options

Comment options

You must be logged in to vote
2 replies
@squidfunk
Comment options

@ultrabug
Comment options

Answer selected by squidfunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants