Reduce potential for sidescrolling in site skins, on comment pages.
Also partial comments (collapsed comments) so that they are slightly more
readable when they are in a long comment thread an off to the right of the
screen.
Patch by fu.
diffs (42 lines):
diff -r 3721b58c5076 -r f34ffecdeece htdocs/stc/talkpage.css
--- a/htdocs/stc/talkpage.css Tue Jan 04 19:30:03 2011 +0800
+++ b/htdocs/stc/talkpage.css Wed Jan 05 15:24:45 2011 +0800
@@ -57,14 +57,16 @@
padding: 0;
}
.cmtbar {
- min-width: 50em;
padding: 0;
+ min-width: 10em;
+}
+.cmtpartial {
+ min-width: 10em;
}
.cmtbar .icon {
float: left;
}
-
.cmtbar .icon img {
display: block;
padding: 0 10px 0 0;
@@ -76,6 +78,7 @@
.cmtbar a img { /*comment action buttons*/
padding: 0 5px;
}
+
.commentbody {
margin-bottom: 15px;
padding: 0;
diff -r 3721b58c5076 -r f34ffecdeece htdocs/talkread.bml
--- a/htdocs/talkread.bml Tue Jan 04 19:30:03 2011 +0800
+++ b/htdocs/talkread.bml Wed Jan 05 15:24:45 2011 +0800
@@ -609,7 +609,7 @@ body<=
my $url = LJ::Talk::talkargs( $talkurl, "thread=$dtid",
$style_args ) . LJ::Talk::comment_anchor( $dtid );
$ret .= "<div id='$htmlid'><table summary=''><tbody><tr>";
$ret .= "<td class='spacer'><img src='$LJ::IMGPREFIX/dot.gif'
alt='' height='1' width='" . ($opts->{'depth'} * 25) . "'></td>";
- $ret .= "<td>";
+ $ret .= "<td class='cmtpartial'>";
if ($post->{'state'} eq 'F') {
$ret .= "($T{'frozen'}) ";
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog