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 partially cropped last line in markdown editor #1219

Merged
merged 1 commit into from
Sep 7, 2017
Merged

Fix partially cropped last line in markdown editor #1219

merged 1 commit into from
Sep 7, 2017

Conversation

TomOne
Copy link
Contributor

@TomOne TomOne commented Sep 6, 2017

In browsers like IE, Edge and Firefox the last line of the markdown editor was cropped due to a higher padding-bottom value, see #1217.

I decreased the value from 36px to 15px and now the last line is no longer partially cropped in Firefox, IE and Edge. In Chrome now there’s slightly more padding between the last line and the bottom of the editor than before, but still looks OK in my opinion.

This solution is of course not optimal because it relies on magic numbers in CSS, but I can’t think of a simple better solution.

I haven’t committed the generated CSS.

In browsers like IE, Edge and Firefox the last line of the markdown editor was cropped due to a higher padding-bottom value.
@rhukster rhukster merged commit 41373c5 into getgrav:develop Sep 7, 2017
@TomOne TomOne deleted the editor-scrollbars branch September 7, 2017 21:44
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