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

Fix extra scroll bar on large code blocks #99

Merged
merged 1 commit into from
May 3, 2021
Merged

Fix extra scroll bar on large code blocks #99

merged 1 commit into from
May 3, 2021

Conversation

KasimAhmic
Copy link
Contributor

When viewing the source of a file and the line numbers are visible in the code block, a second vertical scrollbar appears in the <pre> element. Adding a 2px bottom padding to the ol.linenums element fixes this issue.

Before:
image

After:
image

When viewing the source of a file and the line numbers are visible in the code block, a second scrollbar appears in the <pre> element. Adding a 2px bottom padding to the ol.linenums element fixes this issue.
@ar2rsawseen ar2rsawseen merged commit 2b6f1e9 into clenemt:master May 3, 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

Successfully merging this pull request may close these issues.

2 participants