summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-31 19:55:54 +0100
committerjocuri%softhome.net <>2004-12-31 19:55:54 +0100
commitea89c6a5f55b9f7571820112f0c58344ef3c8ca9 (patch)
tree0b01f035b07c2572052dda4d63811aff592da7a3
parentd19448c365e3b7fd451586c600ae4397d32aa02a (diff)
downloadbugzilla-ea89c6a5f55b9f7571820112f0c58344ef3c8ca9.tar.gz
bugzilla-ea89c6a5f55b9f7571820112f0c58344ef3c8ca9.tar.xz
Patch for bug 275631: Only the first column (not all) should have excess CSS padding-left; patch by byron jones (glob) <bugzilla@glob.com.au>, r=gerv, r=vladd, a=justdave.
-rw-r--r--skins/standard/buglist.css5
-rw-r--r--template/en/default/list/table.html.tmpl2
2 files changed, 5 insertions, 2 deletions
diff --git a/skins/standard/buglist.css b/skins/standard/buglist.css
index b0326b5bb..f1f1d74dc 100644
--- a/skins/standard/buglist.css
+++ b/skins/standard/buglist.css
@@ -30,7 +30,6 @@
table#form tr th { text-align: right; }
table.bz_buglist td, table.bz_buglist th {
- padding-left: 20px;
}
/* For styling rows; by default striped white and gray */
@@ -50,6 +49,10 @@ tr.bz_secure td.first-child {
background-color: inherit;
}
+th.first-child, td.first-child {
+ padding-left: 20px;
+}
+
tr.bz_secure_mode_implied td.first-child {
}
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index dc4f241fb..56ab2ee49 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -87,7 +87,7 @@
[% IF dotweak %]
<th>&nbsp;</th>
[% END %]
- <th colspan="[% splitheader ? 2 : 1 %]">
+ <th colspan="[% splitheader ? 2 : 1 %]" class="first-child">
[% IF sorted_by_relevance %]
ID
[% ELSE %]