Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
forms system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2008 at 07:26 UTC
Updated:
29 Aug 2008 at 18:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
catchThose css declarations have been there a very long time (at least since 4.7), so this might well be "by design". Is there are particular reason you can't overwrite this in your theme?
Comment #2
jpulles commentedIt can be overwritten in a custom theme, but I would expect that the standard css styling should conform to the form api. Could it be that css declarations that have been there a very long time, are not applicable anymore?
Comment #3
Anonymous (not verified) commentedRemoved the width:95% from the node.css style sheet in the node module so that size assigned to input fields using the Forms API is actually effective.
Seems illogical to be able to assign a size to an input, but have it over-ridden by default.
Comment #4
catchI think if you take it out of node.css, you should probably put it into Garland, otherwise this would change how the default install looks. Others might disagree though.
Comment #5
Anonymous (not verified) commentedAgreed, recommend the patch from #3 and this patch both be applied, so that the default install stays the same, but other themes are not required to override node.css.
Comment #6
catchboydjd, to get this reviewed and/or applied to core, it'll have to be one patch with both changes. Also, I don't have a strong opinion either way, but it might be worth seeing how this looks in the other core themes, and if they also need the same treatment.
Comment #7
Anonymous (not verified) commentedCombined into a single patch.
Comment #8
Anonymous (not verified) commentedI'm thinking now that the theme should not specify 95%, as this does not solve the OP's problem. Recommend committing patch in #3 only.
Comment #9
coltraneThere is a larger problem here in that input size's are hard coded in system_elements(). I think we need a default styling applied after the hard-coded size is removed. I'm closing this as a duplicate of #196821: Input field sizes should be easly resizeable where I'd like to focus the work.