Commit b493ba43 authored by Guy Pyrzak's avatar Guy Pyrzak Committed by Frédéric Buclin

Bug 594947: show_bug text boxes are not 100% width

r/a=mkanat
parent 6aec8ad4
...@@ -526,8 +526,7 @@ input.required, select.required, span.required_explanation { ...@@ -526,8 +526,7 @@ input.required, select.required, span.required_explanation {
/* custom styles for inline instances of autocomplete input fields */ /* custom styles for inline instances of autocomplete input fields */
.yui-skin-sam .yui-ac-input { position:static !important; .yui-skin-sam .yui-ac-input { position:static !important;
vertical-align:middle !important; vertical-align:middle !important; }
width:auto !important; }
.yui-skin-sam .yui-ac-container { left:0px !important; } .yui-skin-sam .yui-ac-container { left:0px !important; }
.yui-skin-sam .yui-ac { display: inline-block; } .yui-skin-sam .yui-ac { display: inline-block; }
#bugzilla-body .yui-ac-content { #bugzilla-body .yui-ac-content {
......
...@@ -109,3 +109,7 @@ table#flags { ...@@ -109,3 +109,7 @@ table#flags {
.knob-buttons { .knob-buttons {
float: right; float: right;
} }
.text_input, .bz_userfield, #keyword_container {
width: 100%;
}
...@@ -482,6 +482,7 @@ ...@@ -482,6 +482,7 @@
id => "assigned_to" id => "assigned_to"
name => "assigned_to" name => "assigned_to"
value => bug.assigned_to.login value => bug.assigned_to.login
classes => ["bz_userfield"]
size => 30 size => 30
%] %]
<br> <br>
...@@ -524,6 +525,7 @@ ...@@ -524,6 +525,7 @@
name => "qa_contact" name => "qa_contact"
value => bug.qa_contact.login value => bug.qa_contact.login
size => 30 size => 30
classes => ["bz_userfield"]
emptyok => 1 emptyok => 1
%] %]
<br> <br>
...@@ -821,6 +823,7 @@ ...@@ -821,6 +823,7 @@
name => "newcc" name => "newcc"
value => "" value => ""
size => 30 size => 30
classes => ["bz_userfield"]
multiple => 5 multiple => 5
%] %]
</div> </div>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
# name: mandatory; field name # name: mandatory; field name
# id: optional; field id # id: optional; field id
# value: optional; default field value/selection # value: optional; default field value/selection
# classes: optional; an array of classes to be added
# onchange: optional; onchange attribute value # onchange: optional; onchange attribute value
# disabled: optional; if true, the field is disabled # disabled: optional; if true, the field is disabled
# accesskey: optional, input only; accesskey attribute value # accesskey: optional, input only; accesskey attribute value
...@@ -34,6 +35,7 @@ ...@@ -34,6 +35,7 @@
[% IF Param("usemenuforusers") %] [% IF Param("usemenuforusers") %]
<select name="[% name FILTER html %]" <select name="[% name FILTER html %]"
[% IF id %] id="[% id FILTER html %]" [% END %] [% IF id %] id="[% id FILTER html %]" [% END %]
[% IF classes %] class="[% classes.join(' ') FILTER html %]" [% END %]
[% IF onchange %] onchange="[% onchange FILTER html %]" [% END %] [% IF onchange %] onchange="[% onchange FILTER html %]" [% END %]
[% IF disabled %] disabled="[% disabled FILTER html %]" [% END %] [% IF disabled %] disabled="[% disabled FILTER html %]" [% END %]
[% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %] [% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]
...@@ -78,11 +80,13 @@ ...@@ -78,11 +80,13 @@
</select> </select>
[% ELSE %] [% ELSE %]
[% IF id && feature_enabled('jsonrpc') %] [% IF id && feature_enabled('jsonrpc') %]
<div id="[% id FILTER html %]_autocomplete"> <div id="[% id FILTER html %]_autocomplete"
[% IF classes %] class="[% classes.join(' ') FILTER html %]" [% END %]>
[% END %] [% END %]
<input <input
name="[% name FILTER html %]" name="[% name FILTER html %]"
value="[% value FILTER html %]" value="[% value FILTER html %]"
[% IF classes %] class="[% classes.join(' ') FILTER html %]" [% END %]
[% IF onchange %] onchange="[% onchange FILTER html %]" [% END %] [% IF onchange %] onchange="[% onchange FILTER html %]" [% END %]
[% IF disabled %] disabled="[% disabled FILTER html %]" [% END %] [% IF disabled %] disabled="[% disabled FILTER html %]" [% END %]
[% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %] [% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment