Allow word wrapping of user tags in the page summary area.
Patch by afuna.
diffs (67 lines):
diff -r 346f5cb7669a -r cb86fb96e47b bin/upgrading/s2layers/bases/layout.s2
--- a/bin/upgrading/s2layers/bases/layout.s2 Mon Oct 26 01:58:14 2009 +0000
+++ b/bin/upgrading/s2layers/bases/layout.s2 Mon Oct 26 02:00:25 2009 +0000
@@ -476,6 +476,9 @@ background: $*color_module_link_hover; }
.module-pagesummary ul {display: block; margin: 0; padding: 0.833em;
list-style: none; color: $*color_module_text; font-size: 0.75em;}
.module-pagesummary li {margin: 0.417em 0 0.417em 0; padding: 0 0 0.417em 0;
border-bottom: 0.083em solid $*color_module_border;}
+/* wrap long content, particularly openid usernames */
+.module-pagesummary .ljuser {white-space: normal !important;}
+.module-pagesummary .module-content {word-wrap: break-word;}
/* -------- syndicate -------- */
diff -r 346f5cb7669a -r cb86fb96e47b bin/upgrading/s2layers/core2base/layout.s2
--- a/bin/upgrading/s2layers/core2base/layout.s2 Mon Oct 26 01:58:14
2009 +0000
+++ b/bin/upgrading/s2layers/core2base/layout.s2 Mon Oct 26 02:00:25
2009 +0000
@@ -655,6 +655,13 @@ ul.userlite-interaction-links li {
display: block;
padding: 2px;
}
+/* wrap long content, particularly openid usernames */
+.module-pagesummary .ljuser {
+ white-space: normal !important;
+}
+.module-pagesummary .module-content {
+ word-wrap: break-word;
+}
.module-credit dt, .module-credit dd {
display: inline;
margin: 0;
diff -r 346f5cb7669a -r cb86fb96e47b bin/upgrading/s2layers/drifting/layout.s2
--- a/bin/upgrading/s2layers/drifting/layout.s2 Mon Oct 26 01:58:14 2009 +0000
+++ b/bin/upgrading/s2layers/drifting/layout.s2 Mon Oct 26 02:00:25 2009 +0000
@@ -516,6 +516,16 @@ function Page::print_default_stylesheet(
margin-right: 0.5em;
}
+ /* Page Summary
+
***************************************************************************/
+ /* wrap long content, particularly openid usernames */
+ .module-pagesummary .ljuser {
+ white-space: normal !important;
+ }
+ .module-pagesummary .module-content {
+ word-wrap: break-word;
+ }
+
/* Tag Module
***************************************************************************/
.module-tags_cloud .module-list {
diff -r 346f5cb7669a -r cb86fb96e47b bin/upgrading/s2layers/negatives/layout.s2
--- a/bin/upgrading/s2layers/negatives/layout.s2 Mon Oct 26 01:58:14
2009 +0000
+++ b/bin/upgrading/s2layers/negatives/layout.s2 Mon Oct 26 02:00:25
2009 +0000
@@ -513,6 +513,13 @@ function Page::print_default_stylesheet(
.module-calendar a:hover{
color: $*color_module_link_hover;
}
+ /* wrap long content, particularly openid usernames */
+ .module-pagesummary .ljuser {
+ white-space: normal !important;
+ }
+ .module-pagesummary .module-content {
+ word-wrap: break-word;
+ }
.module-credit dt, .module-credit dd {
display: inline;
margin: 0;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog