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
Mobile: Title menu should flow below title #10456
Comments
This is what I have in one of my themes: .elgg-layout-header {
border-bottom: 1px solid #f1f1f1;
}
.elgg-layout-header > .elgg-head {
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-align-items: center;
align-items: center;
line-height: 20px;
padding: 15px;
}
@media (max-width: 820px) {
.elgg-layout-header > .elgg-head {
-webkit-flex-wrap: nowrap;
flex-wrap: nowrap;
}
}
.elgg-layout-header > .elgg-head > h2 {
-webkit-order: 1;
order: 1;
-webkit-flex: 1 1 auto;
flex: 1 1 auto;
}
.elgg-layout-header > .elgg-head > .elgg-menu {
-webkit-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-order: 2;
order: 2;
text-align: right;
} |
The media block looks redundant. |
Hm. Should be wrap. |
In master the behaviour is currently correct |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Flexbox!
The text was updated successfully, but these errors were encountered: