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

The code editor doesn't format numbers well #22

Closed
kmartin62 opened this issue Aug 23, 2021 · 6 comments
Closed

The code editor doesn't format numbers well #22

kmartin62 opened this issue Aug 23, 2021 · 6 comments

Comments

@kmartin62
Copy link

Single numbers won't format well as it increases their size and it changes the color to red (I assume the color changing is part of the code editor so that's not a problem). I tried it with multiple languages and it doesn't work good for all of them. However, having the numbers next to a string, the problem doesn't occur.
bug number

@jaywcjlove
Copy link
Member

@kmartin62 I didn't understand what it meant.

@kmartin62
Copy link
Author

@jaywcjlove it means that when I type numbers, it increases their size and it doesn't look good. See the photo attached, I typed function (1) but the following output wasn't as it should be

@jaywcjlove
Copy link
Member

image

@kmartin62 Is there a style conflict?

@kmartin62
Copy link
Author

@jaywcjlove hm, seems so. What could be the issue on my side, any ideas? From what you showed me, looks like it works good on your side

@jaywcjlove
Copy link
Member

@kmartin62
Copy link
Author

kmartin62 commented Aug 23, 2021

@jaywcjlove Never mind, I found the error. The style for the class .number had a big font-size set for it. I believe this error had nothing to do with your component, the style was overwritten by another component

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