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
display: flex gone and float: right not working when echoing raw HTML content, both seemingly due to an appended width: 100% style.
display: flex
float: right
width: 100%
https://codepen.io/suibianp/pen/bGRKeLP
The first should be on a single line, with the embedded div floating to the right.
div
The second should have the children distributed evenly on a line.
The first is broken into two lines.
The second is squeezed together.
https://codepen.io/suibianp/pen/YzQvWwY
Firefox 92.0 (64-bit), Manjaro Linux
The text was updated successfully, but these errors were encountered:
I think this is another bug that was introduced by a PR that I've merged. I keep fixing bugs since it was merged in April. The code had a lot of hacks but I've liked the feature it introduced.
Sorry, something went wrong.
And thanks for reporting the bug.
If you use some other tag instead of div it will work.
fix echo raw interfering with echo without newline #695
67c37fd
The problem was that when you echo raw html with div tag that div was affected by the code for echo without newline
The fix is in the devel branch, it will be released in the next version.
Thank you very much for the fantastic package and rapid fix!
No branches or pull requests
Issue summary
display: flex
gone andfloat: right
not working when echoing raw HTML content, both seemingly due to an appendedwidth: 100%
style.Expected behaviour
https://codepen.io/suibianp/pen/bGRKeLP
The first should be on a single line, with the embedded
div
floating to the right.The second should have the children distributed evenly on a line.
Actual behaviour
The first is broken into two lines.
The second is squeezed together.
Steps to reproduce
https://codepen.io/suibianp/pen/YzQvWwY
Browser and OS
Firefox 92.0 (64-bit), Manjaro Linux
The text was updated successfully, but these errors were encountered: