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

Mobile: Title menu should flow below title #10456

Closed
mrclay opened this issue Oct 16, 2016 · 4 comments
Closed

Mobile: Title menu should flow below title #10456

mrclay opened this issue Oct 16, 2016 · 4 comments

Comments

@mrclay
Copy link
Member

mrclay commented Oct 16, 2016

Flexbox!

@hypeJunction
Copy link
Contributor

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;
}

@mrclay
Copy link
Member Author

mrclay commented Oct 17, 2016

The media block looks redundant.

@hypeJunction
Copy link
Contributor

Hm. Should be wrap.

@jdalsem
Copy link
Member

jdalsem commented Nov 9, 2017

In master the behaviour is currently correct

@jdalsem jdalsem closed this as completed Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants