-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
Disarranged CSS style in raw HTML echoing #695
Comments
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. |
And thanks for reporting the bug. |
If you use some other tag instead of div it will work. |
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! |
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: