Skip to content

Color not working #462

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

Closed
krsolutions opened this issue Nov 24, 2020 · 4 comments
Closed

Color not working #462

krsolutions opened this issue Nov 24, 2020 · 4 comments

Comments

@krsolutions
Copy link

Color attribute not working

@erickok
Copy link
Contributor

erickok commented Nov 24, 2020

Could you please elaborate, with a short example of the code you use, the html and the (unexpected) result?

@komaromil
Copy link

komaromil commented Nov 24, 2020

eg. color not working for <sub> elements the <sub> element only black but <sup>'s are text's color. The <sub> location is too low.
<p>PanPastel<sup>&reg;</sup> Sofft<sub>&#8482;</sub> Tools</p>

@tneotia
Copy link
Contributor

tneotia commented Feb 1, 2021

Hi, I tested with your example like this:
<p>PanPastel<sup style="color: blue;">&reg;</sup> Sofft<sub style="color: red;">&#8482;</sub> Tools</p>
And the sup color is rendered blue and sub color is rendered red.
The offset vertically is the same for both sub and sup, just in the opposite direction so I don't know what exactly you mean by sub location is too low.

@erickok
Copy link
Contributor

erickok commented Feb 8, 2021

Please let us know (with some example html) if there is still an issue.

@erickok erickok closed this as completed Feb 8, 2021
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

4 participants