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

comments layout issue with missing justify left #972

Closed
karlcow opened this issue Mar 17, 2016 · 1 comment
Closed

comments layout issue with missing justify left #972

karlcow opened this issue Mar 17, 2016 · 1 comment

Comments

@karlcow
Copy link
Member

karlcow commented Mar 17, 2016

capture d ecran 2016-03-17 a 17 04 00

You see how the username, the commented and the time is spread on the full width?

The block is

<div class="wc-Comment-header">
        <span class="wc-Comment-owner js-Comment-owner">
          <a class="wc-Link" href="https://github.com/karlcow">karlcow</a>
        </span> commented <a class="wc-Link" href="#issuecomment-197734839">an hour ago</a>
</div>

with the style:

.wc-Comment-header {
    border-radius: 10px 10px 0 0;
    background-color: #f0f0f0;
    padding: .8em .8em .8em 1em;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

For it to work it needs an additional div

<div class="wc-Comment-header">
  <div>
        <span class="wc-Comment-owner js-Comment-owner">
          <a class="wc-Link" href="https://github.com/karlcow">karlcow</a>
        </span> commented <a class="wc-Link" href="#issuecomment-197734839">an hour ago</a>
  </div>
</div>
@magsout
Copy link
Member

magsout commented Mar 17, 2016

ah yes oups.. it's because of justify-content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants