Closed Bug 521463 Opened 16 years ago Closed 15 years ago

text input fields are different widths on enter_bug.cgi, process_bug.cgi and post_bug.cgi

Categories

(Bugzilla :: Creating/Changing Bugs, defect, P3)

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: dkl, Assigned: mkanat)

Details

(Keywords: polish)

Attachments

(1 file, 1 obsolete file)

bug/show.html.tmpl includes additional bodyclasses that use CSS to format the text input fields to min: 25em and width: 100%. bug/process/header.html.tmpl and bug/create/created.html.tmpl do not include the additional bodyclasses and so therefore the text input fields are smaller at size=40. Needs to be consistent for all views of bug/edit.html.tmpl. Attaching patch. Dave
Attachment #405543 - Flags: review?(mkanat)
Severity: normal → minor
OS: Linux → All
Hardware: x86 → All
Target Milestone: --- → Bugzilla 3.6
Comment on attachment 405543 [details] [diff] [review] Patch to add bodyclasses to process_bug.cgi and post_bug.cgi (v1) Hmm. The process one should definitely have the classes, but the enter_bug one should probably have a separate class, and then that should be used in the CSS. By the way, I don't know if I have a bug filed for this, but we need to centralized the header values for all the ways that there are to reach the bug/show.html template.
Attachment #405543 - Flags: review?(mkanat) → review-
Severity: minor → enhancement
Keywords: polish
Priority: -- → P3
Target Milestone: Bugzilla 3.6 → Bugzilla 3.8
If this is still a problem, we really should fix this for 4.0. It's been around for too long.
Flags: blocking4.0+
Severity: enhancement → minor
Attached patch v1Splinter Review
Okay, this at least sychronizes the CSS somewhat between enter_bug and show_bug. We can't actually make the text inputs 100% width on enter_bug, because that actually makes them the size of the screen. But this cleans up the CSS between enter_bug and show_bug, and makes the text inputs scale somewhat to the size of the screen on enter_bug. There's no good way to sync the Comment field with the text fields, because the Comment field uses a different font. (When you combine this with cross-browser and cross-platform compatibility, and the fact that the actual width of displayed comments is limited in em, then there's no good way to handle it.)
Assignee: create-and-change → mkanat
Attachment #405543 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #456179 - Flags: review?(dkl)
Comment on attachment 456179 [details] [diff] [review] v1 Looks good to me and works as expected. r=dkl
Attachment #456179 - Flags: review?(dkl) → review+
Flags: approval?
Flags: approval4.0?
Flags: approval?
Flags: approval4.0?
Flags: approval4.0+
Flags: approval+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified skins/standard/enter_bug.css modified skins/standard/global.css modified skins/standard/show_bug.css modified template/en/default/bug/create/create.html.tmpl Committed revision 7338. Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/4.0/ modified skins/standard/enter_bug.css modified skins/standard/global.css modified skins/standard/show_bug.css modified template/en/default/bug/create/create.html.tmpl Committed revision 7313.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: