Opened 2 years ago
Last modified 2 years ago
#56384 new defect (bug)
Error in CSS for form input
Reported by: | princeofabyss | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 6.0 |
Component: | Administration | Keywords: | |
Focuses: | css, administration, template | Cc: |
Description
In user-new.php and user-edit.php, I created an interface to add some custom meta fields using checkboxes.
The problem is that the CSS bit
#adduser .form-field input, #createuser .form-field input { width: 25em; }
breaks my interface as I'm using the HTML
<input type="checkbox" name="class_languages[]" id="class_languages-english" value="english">
So .form-field input without excluding checkbox types, or specifically applying it to text/url types, stretches the checkboxes...
Below I'm attaching two screenshots, the first with the CSS bit in effect, and the second with it disabled in the developer tools of the browser...
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Can't you apply more specific CSS to override it?