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

Extra vertical scroll bar #115

Closed
bzaar opened this issue Dec 7, 2019 · 1 comment
Closed

Extra vertical scroll bar #115

bzaar opened this issue Dec 7, 2019 · 1 comment

Comments

@bzaar
Copy link
Contributor

bzaar commented Dec 7, 2019

image

http://gramdict.ru/howtouse#double-slash

This was referenced May 26, 2020
@bzaar
Copy link
Contributor Author

bzaar commented May 27, 2020

The culprit seems to be this bit of CSS which is part of our solution to the "Superscripts affect line height" problem (#59):

sub {
    top: 0.4em;
}

For superscripts, an elegant solution exists:

sup {
    vertical-align: top; // default is 'sup'
    font-size: 75%;
}

But we couldn't find an equivalent solution for sub.

Reducing top to 0.2em removes the extra scrollbar, at least for the current font family and size. We should watch out for a reappearance of this bug going forward.

bzaar pushed a commit that referenced this issue May 27, 2020
@bzaar bzaar closed this as completed May 27, 2020
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

1 participant