Closed
Bug 629841
Opened 15 years ago
Closed 15 years ago
Remove padding from .toolbarbutton-1 with menu-button type
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 4.0b12
People
(Reporter: fvsch, Assigned: dao)
Details
Attachments
(2 files)
43.38 KB,
image/png
|
Details | |
918 bytes,
patch
|
mstange
:
review+
johnath
:
approval2.0+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b10) Gecko/20100101 Firefox/4.0b10
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b10) Gecko/20100101 Firefox/4.0b10
There is a type of button that seems to have unnecessary margins, with the following effects:
- horizontal spacing between buttons becomes irregular (8px, 10px or 12px depending on the combinations--should be 8px everywhere);
- when in "Use Small Icons" mode, adding one of those buttons to the nav bar makes the nav bar higher than it should be.
The kind of button with the faulty margins is a “combo” button (left part is a simple button, right part shows a drop-down list). It seems it’s only used by extensions, and said extensions include Firebug, Readability, Total Validator and others.
I suspect most buttons have margin-left:4px and margin-right:4px, while the nav bar itself has a global 4px padding. (Implementation might be different, I haven't looked at the code yet.)
The problem buttons have 6px of left/right margin (instead of 4), and perhaps 3px of top/bottom margin instead of 0px (or 7 instead of 4).
Reproducible: Always
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Comment 2•15 years ago
|
||
By the way, I tested with:
- Firefox 4 beta 11pre (nightly 2011-01-28) on OSX: bug still there.
- Firefox 4 beta 11pre (nightly 2011-01-28) on Win7: no similar bug.
Seems specific to the Mac theme.
Assignee | ||
Updated•15 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•15 years ago
|
Summary: Margins too big for some buttons in nav bar (combo-buttons?) → Margins too big for type="menu-button" toolbar buttons
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → dao
Assignee | ||
Comment 3•15 years ago
|
||
Icons & text mode is affected as well, this takes care of it.
Attachment #508097 -
Flags: review?(mstange)
Updated•15 years ago
|
Attachment #508097 -
Flags: review?(mstange) → review+
Assignee | ||
Updated•15 years ago
|
Attachment #508097 -
Flags: approval2.0?
Summary: Margins too big for type="menu-button" toolbar buttons → Remove padding from .toolbarbutton-1 with menu-button type
Updated•15 years ago
|
Attachment #508097 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 4•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b12
You need to log in
before you can comment on or make changes to this bug.
Description
•