Closed Bug 1330611 Opened 7 years ago Closed 7 years ago

[compact layout] icons look vertically misaligned in alternative default tiles

Categories

(Firefox :: New Tab Page, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 53
Tracking Status
firefox51 --- verified
firefox52 --- fixed
firefox53 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached image Screenshot
      No description provided.
Attached image Screenshot with patch
Note that my patch conflates browser.newtabpage.compact with browser.newtabpage.directory.source, which is technically incorrect but should be fine since we have browser.newtabpage.compact and  browser.newtabpage.directory.source's alternative value only for the funnelcake and will eventually get rid of these distinctions.
Comment on attachment 8826154 [details]
Bug 1330611 - [compact layout] position thumbnails more towards the top in default tiles.

https://reviewboard.mozilla.org/r/104168/#review104898

::: browser/themes/shared/newtab/newTab.inc.css:192
(Diff revision 1)
>  .newtab-site[type=sponsored] .newtab-thumbnail {
>    background-position: center center;
>  }
>  
> +body.compact .newtab-site[type=affiliate] .newtab-thumbnail {
> +  background-position: center 30%;

The screenshots look good, so r=me, but we should probably do something in a followup that will still be correct if we change the title size.
Attachment #8826154 - Flags: review?(gijskruitbosch+bugs) → review+
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/07bb50e7122d
[compact layout] position thumbnails more towards the top in default tiles. r=Gijs
Comment on attachment 8826154 [details]
Bug 1330611 - [compact layout] position thumbnails more towards the top in default tiles.

Approval Request Comment
[Feature/Bug causing the regression]: bug 1322731 & bug 1322738
[User impact if declined]: see attachment 8826152 [details]
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: not yet
[Needs manual test from QE? If yes, steps to reproduce]: probably no dedicated test needed
[List of other uplifts needed for the feature/fix]: /
[Is the change risky?]: no
[Why is the change risky/not risky?]: small and isolated fix, will only affect the funnelcake build
[String changes made/needed]: /
Attachment #8826154 - Flags: approval-mozilla-beta?
Attachment #8826154 - Flags: approval-mozilla-aurora?
Comment on attachment 8826154 [details]
Bug 1330611 - [compact layout] position thumbnails more towards the top in default tiles.

Layout fix for the onboarding funnelcake experiment.
Attachment #8826154 - Flags: approval-mozilla-beta?
Attachment #8826154 - Flags: approval-mozilla-beta+
Attachment #8826154 - Flags: approval-mozilla-aurora?
Attachment #8826154 - Flags: approval-mozilla-aurora+
https://hg.mozilla.org/mozilla-central/rev/07bb50e7122d
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
[bugday-20170125]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: