Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Fix for https://github.com/brave/browser-laptop/issues/1628 #1638

Merged
merged 1 commit into from
May 9, 2016
Merged

Fix for https://github.com/brave/browser-laptop/issues/1628 #1638

merged 1 commit into from
May 9, 2016

Conversation

bsclifton
Copy link
Member

@bsclifton bsclifton commented May 9, 2016

An elegant fix was available, thanks to:
https://github.com/brave/browser-laptop/blob/master/js/components/window.js#L55

This PR:

  • removes the hardcoded 70px margin from navigatorWrapper
  • properly calculates center offset if margin is 0
  • will add 70px margin & account for margin when calculating center offset if platform is darwin

I tested the manually and verified this works. Mac users should be good to go- I tested their style by using ".platform--win32" and confirmed it looks the same.

Screencap on Windows after the fix:
spacing-issue-fix

@bbondy
Copy link
Member

bbondy commented May 9, 2016

Looks great, thanks!

@bbondy bbondy merged commit 090eeaf into brave:master May 9, 2016
@bsclifton bsclifton deleted the win32-fix-backforward-spacing branch May 10, 2016 14:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants