launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #04056
[Merge] lp:~benji/launchpad/bug-735196 into lp:launchpad
Benji York has proposed merging lp:~benji/launchpad/bug-735196 into lp:launchpad.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
Related bugs:
Bug #735196 in Launchpad itself: "Text pops out of announcment box"
https://bugs.launchpad.net/launchpad/+bug/735196
For more details, see:
https://code.launchpad.net/~benji/launchpad/bug-735196/+merge/65983
Bug 735196 is about the announcements portlet sometimes having long
strings of non-whitespace characters (like section headers) that break
out of the page element. Since those strings of characters are
essentially information-free and announcements that use them are not
formatted to fit in the portlet's preview anyway (there is a link to the
full version), we (Huw and I) decided that simply clipping text that
overflows the bounds of the portlet is the best compromise.
Lint: there was so much lint in the one CSS file that I changed that I'm
not even going to think about fixing it in this branch.
--
https://code.launchpad.net/~benji/launchpad/bug-735196/+merge/65983
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~benji/launchpad/bug-735196 into lp:launchpad.
=== modified file 'lib/canonical/launchpad/icing/style-3-0.css'
--- lib/canonical/launchpad/icing/style-3-0.css 2011-06-17 17:33:14 +0000
+++ lib/canonical/launchpad/icing/style-3-0.css 2011-06-27 13:34:59 +0000
@@ -1456,6 +1456,10 @@
}
.announcements li {
margin-bottom: 0.5em;
+ /* Some announcements have long strings of characters as section headers
+ * and such. Since they don't have whitespace they can't wrap, so they
+ * would break out of their container if we didn't clip them here. */
+ overflow: hidden;
}
.announcements li strong,
.announcements li a {