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

div for syntaxhighligther is larger than it should be #243

Open
SuperBoss9 opened this issue Jun 10, 2022 · 0 comments
Open

div for syntaxhighligther is larger than it should be #243

SuperBoss9 opened this issue Jun 10, 2022 · 0 comments

Comments

@SuperBoss9
Copy link

The problem is in this tag:

Exactly in syntaxhighlighter style because it defines "width: 100% !important;" of this div.

As a result I get the div area and the padding exactly to the page size. That is not good because all other elements has normal padding and have some space between the right edge of the page and themself.
Screenshot 2022-06-10 221203

The problem can be solved if change width: 100% to auto. But the tag !important is not allowing to do this.

I also can't ovveride it with other CSS (including the style that can be added at the settings page) because CSS for syntaxhiglighter is enabled via JS and at the same late time.

What shall I do with this?

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

1 participant