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

Handling superscripts #29

Open
deepakjois opened this issue Aug 20, 2016 · 1 comment
Open

Handling superscripts #29

deepakjois opened this issue Aug 20, 2016 · 1 comment

Comments

@deepakjois
Copy link

Using superscripts with the sup element seems to mess up the baseline (see screenshot below).

Is this a known issue? Can this be fixed somehow?

screenshot 2016-08-20 15 45 08

@deepakjois
Copy link
Author

I solved this by setting line-height of sup to 0:

sup {
  line-height: 0;
}

Feel free to close this issue, although it would be nice to have this (or something equivalent) set as default for sup and sub in the megatype/megatype/test/_defaults.scss file.

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

No branches or pull requests

3 participants