From b493ba43eb4516605f78de11a4f799b56ef55174 Mon Sep 17 00:00:00 2001 From: Guy Pyrzak Date: Sun, 19 Sep 2010 01:39:58 +0200 Subject: Bug 594947: show_bug text boxes are not 100% width r/a=mkanat --- skins/standard/global.css | 3 +-- skins/standard/show_bug.css | 4 ++++ template/en/default/bug/edit.html.tmpl | 3 +++ template/en/default/global/userselect.html.tmpl | 6 +++++- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/skins/standard/global.css b/skins/standard/global.css index 826f702ce..8993467ef 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -526,8 +526,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 { diff --git a/skins/standard/show_bug.css b/skins/standard/show_bug.css index 04f87d647..ea8fca1eb 100644 --- a/skins/standard/show_bug.css +++ b/skins/standard/show_bug.css @@ -109,3 +109,7 @@ table#flags { .knob-buttons { float: right; } + +.text_input, .bz_userfield, #keyword_container { + width: 100%; +} diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 4b5e7769e..3b2d4d29b 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -482,6 +482,7 @@ id => "assigned_to" name => "assigned_to" value => bug.assigned_to.login + classes => ["bz_userfield"] size => 30 %]
@@ -524,6 +525,7 @@ name => "qa_contact" value => bug.qa_contact.login size => 30 + classes => ["bz_userfield"] emptyok => 1 %]
@@ -821,6 +823,7 @@ name => "newcc" value => "" size => 30 + classes => ["bz_userfield"] multiple => 5 %] diff --git a/template/en/default/global/userselect.html.tmpl b/template/en/default/global/userselect.html.tmpl index 5924e0723..9fd2df79d 100644 --- a/template/en/default/global/userselect.html.tmpl +++ b/template/en/default/global/userselect.html.tmpl @@ -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") %]