Handle potentially wide user-provided content.
Patch by fu.
diffs (55 lines):
diff -r 9765627f0b32 -r 997340b87d17 htdocs/stc/tropo/tropo-base.css
--- a/htdocs/stc/tropo/tropo-base.css Tue Jun 15 16:42:32 2010 +0800
+++ b/htdocs/stc/tropo/tropo-base.css Tue Jun 15 17:45:16 2010 +0800
@@ -485,11 +485,6 @@ table#support-highscores {
min-width: 50em;
}
-#Comments {
- overflow: auto;
- max-width: 80em;
-}
-
/* lj_base-app.css */
.rounded-box {
background: no-repeat;
@@ -521,3 +516,13 @@ big {
big {
font-size: larger;
}
+
+/* for pages which we know may have wide content, and we want this content
visible */
+.self_wrap #content {
+ overflow: visible;
+}
+
+#page_talkread #entry, #page_talkread #Comments .talk-comment,
+#page_inbox .InboxItem_Content {
+ max-width: 80em;
+}
diff -r 9765627f0b32 -r 997340b87d17 htdocs/stc/tropo/tropo-purple.css
--- a/htdocs/stc/tropo/tropo-purple.css Tue Jun 15 16:42:32 2010 +0800
+++ b/htdocs/stc/tropo/tropo-purple.css Tue Jun 15 17:45:16 2010 +0800
@@ -835,3 +835,9 @@ div.adult_warning {
.userslist-table tr.even {
background-color: #f7f7f7;
}
+
+/* for items which could have wide content, that could overflow outside the
bounds of #content */
+#page_talkread #Comments .talk-comment td.commentbody,
+#page_inbox .InboxItem_Content {
+ background-color: #f7f7f7;
+}
diff -r 9765627f0b32 -r 997340b87d17 htdocs/stc/tropo/tropo-red.css
--- a/htdocs/stc/tropo/tropo-red.css Tue Jun 15 16:42:32 2010 +0800
+++ b/htdocs/stc/tropo/tropo-red.css Tue Jun 15 17:45:16 2010 +0800
@@ -837,3 +837,9 @@ div.adult_warning {
.userslist-table tr.even {
background-color: #fff;
}
+
+/* for items which could have wide content, that could overflow outside the
bounds of #content */
+#page_talkread #Comments .talk-comment td.commentbody,
+#page_inbox .InboxItem_Row td {
+ background-color: #f7f7f7;
+}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog