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

Clearfix in AnimatedContainer can cause alignment issue with flexbox #219

Open
emattias opened this issue May 28, 2020 · 0 comments
Open

Comments

@emattias
Copy link

.animated-container:before, .animated-container:after {
content: ' ';
display: table;
}

The above css causes this alignment issue for me. So I have done this:

  .animated-container::before, .animated-container::after {
    display: none !important;
    content: "" !important;
  }

and the animations still work. Is this clearfix still relevant when not using floats?

Maybe have it be an opt in with some @clearfix={{true}} argument? Or maybe just remove it? :)

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

No branches or pull requests

1 participant