Top/bottom padding #5460
Answered
by
nightwing
dsparkplug
asked this question in
Q&A
Top/bottom padding
#5460
-
For me, the first line of text seems really close to the top border. Is there a way to add padding to the top and/or bottom of the editor? I tried adding a top or margin-top value to the .ace_scroller class via css, but then the scroller misses the last line. |
Beta Was this translation helpful? Give feedback.
Answered by
nightwing
Jan 11, 2024
Replies: 1 comment 1 reply
-
You can use editor.renderer.setScrollMargin |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dsparkplug
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use editor.renderer.setScrollMargin