# HG changeset patch # User Sverre Rabbelier # Date 1238271590 0 # Node ID 388b65cabfbb9cb667dc61d8db12b048d62ccd53 # Parent e44de18a2f5d5989fbfab3f83f8ecab191b1e629 Set fields to 100% width again This patch properly fixes the problem without punishing other browsers for IE's brokenness. If we have any other IE specific fixes, we should include them in this way too. Patch by: Timothy Robert Ansell diff -r e44de18a2f5d -r 388b65cabfbb app/soc/content/css/soc-090418-ie.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/content/css/soc-090418-ie.css Sat Mar 28 20:19:50 2009 +0000 @@ -0,0 +1,32 @@ +/* +Copyright 2009 the Melange authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + */ + +/* + * Put IE specific hacks in this file. Which will only be included by IE. + */ + +td.formfieldvalue input { + width: 200px; +} + +td.formfieldvalue textarea { + width: 200px; +} + +td.formfieldvalue select { + width: 200px; +} + diff -r e44de18a2f5d -r 388b65cabfbb app/soc/content/css/soc-090418.css --- a/app/soc/content/css/soc-090418.css Sat Mar 28 20:19:18 2009 +0000 +++ b/app/soc/content/css/soc-090418.css Sat Mar 28 20:19:50 2009 +0000 @@ -188,7 +188,11 @@ } td.formfieldvalue input { - width: 200px; + width: 100%; +} + +td.formfieldvalue input[type=checkbox] { + width: auto; } td.formfieldvalue input:focus { diff -r e44de18a2f5d -r 388b65cabfbb app/soc/templates/soc/base.html --- a/app/soc/templates/soc/base.html Sat Mar 28 20:19:18 2009 +0000 +++ b/app/soc/templates/soc/base.html Sat Mar 28 20:19:50 2009 +0000 @@ -17,6 +17,10 @@ {% block stylesheet %} + + {% if uses_jq_autocomplete %} {% endif %}