Closed Bug 603762 Opened 15 years ago Closed 15 years ago

Vertical margins between header, footer, and content are not consistent

Categories

(Bugzilla :: User Interface, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: christian, Assigned: christian)

Details

Attachments

(2 files)

Attached patch Make margins 1emSplinter Review
This has been bugging me even though I know it is trivial. Margins between header, footer, and content are not consistent. Attached is a screenshot showing a before and after.
Attached image Before and after
Why should they be the same?
Because it looks lopsided/off if they aren't with the dusk theme.
Attachment #482653 - Flags: review?(guy.pyrzak)
Hmm. I agree that it's nice to have the consistency. However, in Dusk, there's a slight difference in purpose between the side margins and the top/bottom margins: * The side margins offset the text of the page and the general content, since we know that having side margins is important for readability. (See: hundreds of years of research and data on book formatting.) * The top/bottom margins are there simply to separate the header and footer from the content, and in Bugzilla, vertical space is at a premium (as it is on most web sites). We want as little as possible at the top of Bugzilla, while still keeping it nice-looking and readable. So I actually want the top/bottom margins to be thinner than the side margins.
Yeah, I agree. This patch only makes it so the top and bottom margins are equal. I matched the bigger of the two, but it could just as easily be set at 1em (though at 1.5em it looks a little nicer to my eyes). The patch doesn't touch the side margins. It looked like the vertical space difference between header->content and content->footer wasn't a conscious choice, as top/bottom margins & padding were set and reset to multiple values and eventually stacked on each other,
Summary: Margins between header, footer, and content are not consistent → Vertical margins between header, footer, and content are not consistent
(I now realize my screenshot makes it look look like I changed the side margins, but that's merely an unfortunate crop)
Ah ha! In that case then yes, I am totally in agreement with you about this patch. :-) But I will let pyrzak review it. :-)
Assignee: ui → clegnitto
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 4.0
Comment on attachment 482653 [details] [diff] [review] Make margins 1em sorry it took so long, must have gotten lost in the mix. Looks good.
Attachment #482653 - Flags: review?(mkanat)
Attachment #482653 - Flags: review?(guy.pyrzak)
Attachment #482653 - Flags: review+
Attachment #482653 - Flags: review?(mkanat)
Flags: approval4.0+
Flags: approval+
Christian: So, you have the ability to check in your own patches now, right? Our instructions for that are here: https://wiki.mozilla.org/Bugzilla:Committing_Patches Would be best to do it when myself or another committer is already online, so that you can run any questions by them, and also have them confirm the correctness of whatever command lines you use (since we can't uncommit or change a revision once it's in).
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified skins/contrib/Dusk/global.css modified skins/standard/global.css Committed revision 7634. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.0/ modified skins/contrib/Dusk/global.css modified skins/standard/global.css Committed revision 7501.
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

Creator:
Created:
Updated:
Size: