Don't hardcode field size

nisguy - February 15, 2008 - 16:00
Project:Drupal
Version:7.x-dev
Component:system.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

My theme is about 10px narrower than the hard-coded input size of 60, which causes horizontal scrollbars. I wanted to be able to fix the width with css but cannot. Please don't hardcode the size of the input fields. If you didn't do this than I apologize, but the normal file field is a size 40.

#1

dopry - February 18, 2008 - 07:36
Status:active» active (needs more info)

which input fields?

#2

nisguy - February 18, 2008 - 13:28

the file field that appears on the node create page labeled "Attach new file:".

#3

dopry - February 19, 2008 - 00:58
Project:FileField» Drupal
Version:5.x-2.2» 7.x-dev
Component:Code» system.module

That happens in core actually... it is part of the file element declaration in system_elements.

#4

coltrane - August 29, 2008 - 17:59
Status:active (needs more info)» duplicate

Closing as duplicate of #196821: Input field sizes should be easly resizeable, let's solve this problem there.

 
 

Drupal is a registered trademark of Dries Buytaert.