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

always subscript and superscript #36

Open
jiahuifu opened this issue Dec 10, 2015 · 8 comments
Open

always subscript and superscript #36

jiahuifu opened this issue Dec 10, 2015 · 8 comments

Comments

@jiahuifu
Copy link

always subscript and superscript

@wasabeef
Copy link
Owner

@f630088281

what does that mean?

@ObidosDev
Copy link

@wasabeef
it means that you can not turn off subscript and superscript modes

@louis993546
Copy link

for example, when you press bold, it turn the bold on if it is off, and off if it is on. However, both subscript and superscript do not behave like that. If you press superscript on an already superscript text, it remains superscript, and the same goes for subscript.

@sabriauf
Copy link

sabriauf commented May 5, 2017

@louistsaitszho if you found an answer please let me know too.

@louis993546
Copy link

@sabriauf i never find solution to that. sorry

@rahuldas790
Copy link

Problem can be solved by removing in normalize.css these lines:

sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

@jishantmed
Copy link

Anybody found the solution for this problem?

@anoop110494
Copy link

anoop110494 commented Sep 15, 2022

Update the normalize.css file

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
// vertical-align: baseline; // removed 
}

sub {
  bottom: -0.25em;
  vertical-align: sub; // added
}

sup {
  top: -0.5em;
  vertical-align: super; // added
}

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

8 participants