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

Button text needs padding-bottom #10501

Closed
srirambv opened this issue Aug 15, 2017 · 13 comments
Closed

Button text needs padding-bottom #10501

srirambv opened this issue Aug 15, 2017 · 13 comments

Comments

@srirambv
Copy link
Collaborator

  • Did you search for similar issues before submitting this one?
    Yes

  • Describe the issue you encountered:
    Button text needs padding-bottom

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Windows 10 x64

  • Brave Version (revision SHA):
    0.18.14/0.18.22

  • Screenshot if needed:
    Top : 0.18.14
    Bottom : 0.18.22
    image

  • Any related issues:
    cc: @luixxiul

@luixxiul
Copy link
Contributor

@srirambv could you please try to reproduce the issue on 0.19? thanks!

@luixxiul luixxiul added the needs-info Another team member needs information from the PR/issue opener. label Aug 15, 2017
@luixxiul
Copy link
Contributor

also please check if the issue is reproduced on about:styles, thanks.

@srirambv
Copy link
Collaborator Author

Checking on 0.19 but looks fine on about:styles in 0.18.22

@luixxiul
Copy link
Contributor

The issue is not reproduced for me.

clipboard01

Didn't you changed the DPI setting or something?

@srirambv
Copy link
Collaborator Author

This is on a clean install of 0.18.20 and no changes to UI Scale or default zoom
image
This is on 0.18.22
image

@luixxiul
Copy link
Contributor

maybe font rendering on chromium has changed and that could be a reason. CC @cezaraugusto do you know something on this?

@bsclifton
Copy link
Member

bsclifton commented Aug 15, 2017

@srirambv @luixxiul Is this issue a duplicate of #9370?

@luixxiul
Copy link
Contributor

@bsclifton I don't think so, as this issue discusses the padding inside the buttons. #9370 is definitely worth fixing soon, but I'm afraid I don't know how to do.

@luixxiul luixxiul self-assigned this Sep 9, 2017
@luixxiul luixxiul removed the needs-info Another team member needs information from the PR/issue opener. label Sep 9, 2017
@luixxiul
Copy link
Contributor

luixxiul commented Sep 9, 2017

@srirambv would you mind checking that setting display: flex and justify-content: center and align-items: center to the button elements would fix the issue?

@srirambv
Copy link
Collaborator Author

@luixxiul No change even with the settings override that you provided.

@luixxiul
Copy link
Contributor

luixxiul commented Sep 11, 2017

@srirambv do you see the same thing on about:styles? nvm I confirmed that on 0.18.29.

clipboard01

It seems to be caused by the difference of border-width. I'm working on a solution.

@luixxiul
Copy link
Contributor

I think that reducing border-width of the primary button to 1px would fix the issue most easily but I am afraid it would cause an a11y issue (white border gets less noticiable by doing so).

@luixxiul luixxiul added needs-investigation A bug not 100% confirmed/fixed that needs QA to better audit. and removed refactoring labels Sep 11, 2017
@bsclifton bsclifton added this to the Triage Backlog milestone Nov 27, 2017
@bsclifton bsclifton removed this from the Triage Backlog milestone Sep 9, 2018
@bsclifton
Copy link
Member

This has been fixed a while ago

@bsclifton bsclifton removed the needs-investigation A bug not 100% confirmed/fixed that needs QA to better audit. label Sep 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants