[Rt-commit] rt branch 5.0/clear-floating-elements-in-correspondence created. rt-5.0.2-258-gf47aac16a4
BPS Git Server
git at git.bestpractical.com
Thu May 26 22:15:06 UTC 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".
The branch, 5.0/clear-floating-elements-in-correspondence has been created
at f47aac16a433e8939d7d63260e1b971da82b3b99 (commit)
- Log -----------------------------------------------------------------
commit f47aac16a433e8939d7d63260e1b971da82b3b99
Author: Brian Conry <bconry at bestpractical.com>
Date: Thu May 26 17:12:04 2022 -0500
Clear floating elements from correspondence
If correspondence had floating elements and didn't clear them itself,
this would cause the containing element to have incorrect bounds that
didn't take those elements into account.
This adds a (hidden) <hr class="clear"> after every message stanza so
that the containing div will always have the correct lower boundary.
diff --git a/share/html/Elements/ShowMessageStanza b/share/html/Elements/ShowMessageStanza
index 03f80e984a..c867cbd1a6 100644
--- a/share/html/Elements/ShowMessageStanza
+++ b/share/html/Elements/ShowMessageStanza
@@ -167,6 +167,7 @@ AGAIN: foreach ( ; $i < @$Message; $i++ ) {
$print_content->( \$Message );
}
+$m->out('<hr class="clear">');
$m->out('</div>');
</%INIT>
<%ARGS>
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list