]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 594947: show_bug text boxes are not 100% width
authorGuy Pyrzak <guy.pyrzak@gmail.com>
Sat, 18 Sep 2010 23:42:05 +0000 (01:42 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Sat, 18 Sep 2010 23:42:05 +0000 (01:42 +0200)
r/a=mkanat

skins/standard/global.css
skins/standard/show_bug.css
template/en/default/bug/edit.html.tmpl
template/en/default/global/userselect.html.tmpl

index c8f69b57543155f198f4c8f283e2324f9a8acb9d..257f0f28d30070238c96d63bf109d85ff8456cb2 100644 (file)
@@ -514,8 +514,7 @@ input.required, select.required, span.required_explanation {
 
 /* custom styles for inline instances of autocomplete input fields */
 .yui-skin-sam .yui-ac-input { position:static !important; 
-                              vertical-align:middle !important;
-                              width:auto !important; }
+                              vertical-align:middle !important; }
 .yui-skin-sam .yui-ac-container { left:0px !important; }
 .yui-skin-sam .yui-ac { display: inline-block; }
 #bugzilla-body .yui-ac-content {
index 04f87d647afd72eed598fa241a4eed013b55f37b..ea8fca1ebe4b1396d2c5402cba50cd21f3f89c57 100644 (file)
@@ -109,3 +109,7 @@ table#flags {
 .knob-buttons {
     float: right;
 }
+
+.text_input, .bz_userfield, #keyword_container {
+    width: 100%;
+}
index 0a558ecc199a4ac0dc8c40ee34e45434d276c46c..808badb4bb6c3cf5487e3e0bce12ab706bb16eb8 100644 (file)
                  id => "assigned_to"
                  name => "assigned_to"
                  value => bug.assigned_to.login
+                 classes => ["bz_userfield"]
                  size => 30
             %]
             <br>
                 name => "qa_contact"
                 value => bug.qa_contact.login
                 size => 30
+                classes => ["bz_userfield"]
                 emptyok => 1
             %]
             <br>
                   name => "newcc"
                   value => ""
                   size => 30
+                  classes => ["bz_userfield"]
                   multiple => 5
                 %]
             </div>
index 5924e07239e54c21e631fa7a27fb5560e5054775..9fd2df79dcd6955bd5f4e1b55338d15a44dd84a7 100644 (file)
@@ -20,6 +20,7 @@
   # name: mandatory; field name
   # id: optional; field id
   # value: optional; default field value/selection
+  # classes: optional; an array of classes to be added
   # onchange: optional; onchange attribute value
   # disabled: optional; if true, the field is disabled
   # accesskey: optional, input only; accesskey attribute value
@@ -34,6 +35,7 @@
 [% IF Param("usemenuforusers") %]
 <select name="[% name FILTER html %]"
   [% IF id %] id="[% id FILTER html %]" [% END %]
+  [% IF classes %] class="[% classes.join(' ') FILTER html %]" [% END %]
   [% IF onchange %] onchange="[% onchange FILTER html %]" [% END %]
   [% IF disabled %] disabled="[% disabled FILTER html %]" [% END %]
   [% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]
 </select>
 [% ELSE %]
   [% 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 %]  
   <input
     name="[% name FILTER html %]"
     value="[% value FILTER html %]"
+    [% IF classes %] class="[% classes.join(' ') FILTER html %]" [% END %]
     [% IF onchange %] onchange="[% onchange FILTER html %]" [% END %]
     [% IF disabled %] disabled="[% disabled FILTER html %]" [% END %]
     [% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]