Closed Bug 866354 Opened 12 years ago Closed 12 years ago

Social notification icons are too wide and not jutting right up next to each other

Categories

(Firefox Graveyard :: SocialAPI, defect)

22 Branch
All
Windows 7
defect
Not set
normal

Tracking

(firefox22 verified, firefox23 verified)

VERIFIED FIXED
Firefox 23
Tracking Status
firefox22 --- verified
firefox23 --- verified

People

(Reporter: jaws, Assigned: mixedpuppy)

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

Attached image Screenshot of bug
See attached image. The badge area is taking up some visible width even when the badge is not visible. The notification buttons shouldn't have any margin between them either. We'll have to do something like position the badge absolutely to remove it from expanding the width of the button, and probably double-check the left/right margin rules on the buttons.
Attached patch fix windows button width (obsolete) — Splinter Review
we need to override a default style from toolkit css.
Assignee: nobody → mixedpuppy
Attachment #743377 - Flags: review?(jaws)
Comment on attachment 743377 [details] [diff] [review] fix windows button width Review of attachment 743377 [details] [diff] [review]: ----------------------------------------------------------------- This looks good, but there is still a gap between the notification icons. browser/themes/windows/browser.css defines: > @navbarLargeIcons@ .toolbarbutton-1:not([type=menu-button]) { > padding:5px 2px; > ... > } This horizontal padding is what creates the gap between the buttons. We probably need to add the following rules: > @navbarLargeIcons@ #social-toolbar-item { > margin-left: 2px; > margin-right: 2px; > } > > @navbarLargeIcons@ #social-toolbar-item > .toolbarbutton-1 { > padding-left: 0; > padding-right: 0; > } This should fix the gaps. There is another issue in that we are no longer drawing the separators between the buttons. http://mxr.mozilla.org/mozilla-central/source/browser/themes/windows/browser.css#835 doesn't apply to anything anymore since the .social-notification-container class isn't used anymore. The .social-notification-container references can probably be replaced with .toolbarbutton-1 references.
Attachment #743377 - Flags: review?(jaws) → feedback+
Status: NEW → ASSIGNED
updated with feedback, manually tested on win7
Attachment #743377 - Attachment is obsolete: true
Attachment #743791 - Flags: review?(jaws)
Comment on attachment 743791 [details] [diff] [review] fix windows button width Review of attachment 743791 [details] [diff] [review]: ----------------------------------------------------------------- Nice, thanks for fixing this!
Attachment #743791 - Flags: review?(jaws) → review+
Also happening on Aurora.
Hardware: x86_64 → All
Version: 23 Branch → 22 Branch
Comment on attachment 743791 [details] [diff] [review] fix windows button width [Approval Request Comment] Bug caused by (feature/regressing bug #): 855389 User impact if declined: social buttons are extra wide, take a lot of space Testing completed (on m-c, etc.): manually on m-c Risk to taking this patch (and alternatives if risky): low String or IDL/UUID changes made by this patch: none
Attachment #743791 - Flags: approval-mozilla-aurora?
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 23
Attachment #743791 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Verified fixed with Firefox 22 beta 1 (build ID: 20130514181517) on Windows 7 64bit.
QA Contact: manuela.muntean
Samvedana, can you please verify this is fixed in Firefox 23?
Keywords: verifyme
QA Contact: manuela.muntean → samvedana.gohil
Attached image icons in FX 23 B4
User Agent : Mozilla/5.0 (Windows NT 6.2; WOW64; rv:23.0) Gecko/20130430 Firefox/23.0 Build ID : 20130430030941 Tested on nightly and I am able to reproduce this issue on this build. User Agent : Mozilla/5.0 (Windows NT 6.2; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 Build ID : 20130708202947 Tested on Firefox 23-B4, I can see desired result. Please see the attached file.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: