Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab highlight is too high #410

Open
Tamriel opened this issue Mar 1, 2018 · 1 comment
Open

Tab highlight is too high #410

Tamriel opened this issue Mar 1, 2018 · 1 comment

Comments

@Tamriel
Copy link

Tamriel commented Mar 1, 2018

When zoomed in a bit, with Google Chrome, a highlighted tab looks like this for me:

screenshot_20180301_151338

There is a small gap between the violet hightlight and the light grey bar.
Setting padding-bottom: 0px; of the a element fixes it, but then the padding of the text is too low:

screenshot_20180301_151350

@Odonno
Copy link

Odonno commented Mar 15, 2018

I don't think there is a perfect solution for your problem. The grey border is on the entire Tab component, not on each TabItem so you can't get rid of the grey border.

Another way would be to remove the grey border completely which I did for a recent project. Simply do this and you will still have a pretty UI component:

.tab {
  border-bottom: none;
}

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

No branches or pull requests

2 participants