summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-05-31 22:49:39 +0200
committerlpsolit%gmail.com <>2007-05-31 22:49:39 +0200
commitcd9895c9bc3d27b61af66131cc98502b3efc3d63 (patch)
tree65dce3aac55b6078a4463d417b63e47305fe7f22
parent4c77e10c45de70d6da9492e400420c90d537081a (diff)
downloadbugzilla-cd9895c9bc3d27b61af66131cc98502b3efc3d63.tar.gz
bugzilla-cd9895c9bc3d27b61af66131cc98502b3efc3d63.tar.xz
Bug 364164: <select> fields for flags are of different widths if you are not in the grant group for all flags - Patch by Frédéric Buclin <LpSolit@gmail.com> r=reed r=gerv a=LpSolit
-rw-r--r--skins/standard/global.css4
-rw-r--r--template/en/default/flag/list.html.tmpl9
2 files changed, 10 insertions, 3 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css
index 2c26966a4..5c03f8832 100644
--- a/skins/standard/global.css
+++ b/skins/standard/global.css
@@ -263,6 +263,10 @@ table#flags td {
text-align: left;
}
+.flag_select {
+ min-width: 3em;
+}
+
.throw_error {
background-color: #ff0000;
color: black;
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 6b75b088c..61ecf2dfa 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -105,7 +105,8 @@
<td>
<select id="flag-[% flag.id %]" name="flag-[% flag.id %]"
title="[% type.description FILTER html %]"
- onchange="toggleRequesteeField(this);">
+ onchange="toggleRequesteeField(this);"
+ class="flag_select">
[%# Only display statuses the user is allowed to set. %]
[% IF user.can_request_flag(type) %]
<option value="X"></option>
@@ -156,7 +157,8 @@
<select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]"
title="[% type.description FILTER html %]"
[% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %]
- onchange="toggleRequesteeField(this);">
+ onchange="toggleRequesteeField(this);"
+ class="flag_select">
<option value="X"></option>
[% IF type.is_requestable && user.can_request_flag(type) %]
<option value="?">?</option>
@@ -199,7 +201,8 @@
<select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]"
title="[% type.description FILTER html %]"
[% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %]
- onchange="toggleRequesteeField(this);">
+ onchange="toggleRequesteeField(this);"
+ class="flag_select">
<option value="X"></option>
[% IF type.is_requestable && user.can_request_flag(type) %]
<option value="?">?</option>