fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-06-15 09:39 am

[dw-nonfree] Tropospherical cuts off large page elements without a scroll bar

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/997340b87d17]

http://bugs.dwscoalition.org/show_bug.cgi?id=1930

Handle potentially wide user-provided content.

Patch by [personal profile] fu.

Files modified:
  • htdocs/stc/tropo/tropo-base.css
  • htdocs/stc/tropo/tropo-purple.css
  • htdocs/stc/tropo/tropo-red.css
--------------------------------------------------------------------------------
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;
+}
--------------------------------------------------------------------------------