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

Made every place of buttons on the navigation bar clickable #5750

Merged
merged 2 commits into from
Nov 21, 2016
Merged

Conversation

bradleyrichter
Copy link
Contributor

@bradleyrichter bradleyrichter commented Nov 20, 2016

@bsclifton Can you pull this into master and get both @luixxiul and my changes?

Text from original PR by @luixxiul:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

Made every place of buttons on the navigation bar (backButton, forwardButton, stopButton, reloadButton and homeButton) clickable.

The commit of this PR makes the all area inside the button clickable by removing the margin and padding around the icon, which has been only clickable, and setting the size of the svg icons with background-size.

Fixes #5679

Auditors: @bradleyrichter (Especially I'd love to hear your feedback on the sizes of the buttons. Please have a look at background-size properties, thanks.)

Test Plan:

  1. Enable Home Button
  2. Open some pages in the same tab to enable backButton and forwardButton
  3. Make sure every place of the buttons is clickable
  4. Make sure height and width of the buttons remain the same (34x24, 26x24)
  5. Make sure stopButton is centered

Image 1
screenshot 2016-11-19 17 14 45

Image 2
screenshot 2016-11-19 17 15 44

Image 3
screenshot 2016-11-19 21 42 51

#5526

Suguru Hirahara and others added 2 commits November 19, 2016 17:30
…dButton, stopButton, reloadButton and homeButton) clickable

Fixes #5679

Auditors: @bradleyrichter

Test Plan:
1. Enable Home Button
2. Open some pages in the same tab to enable backButton and forwardButton
3. Make sure every place of the buttons are clickable
4. Make sure height and width of the buttons remain the same (34x24, 26x24)
5. Make sure stopButton is centered
@bsclifton bsclifton changed the title Pr/5737 Made every place of buttons on the navigation bar clickable Nov 20, 2016
@bsclifton bsclifton added this to the 0.12.11 milestone Nov 20, 2016
@bsclifton
Copy link
Member

Tried it out, looks (and works) great! Thanks, @luixxiul 😄

@luixxiul
Copy link
Contributor

@bradleyrichter @bsclifton thanks for reviewing!

@luixxiul
Copy link
Contributor

luixxiul commented Nov 21, 2016

@bradleyrichter I think the svg icons should be minified like before (unless it is not minified on building the binaries).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants