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 |
Jump to:
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
which input fields?
#2
the file field that appears on the node create page labeled "Attach new file:".
#3
That happens in core actually... it is part of the file element declaration in system_elements.
#4
Closing as duplicate of #196821: Input field sizes should be easly resizeable, let's solve this problem there.