diff --git a/src/static/css/iframe_editor.css b/src/static/css/iframe_editor.css index a68ca3527..7267375a4 100644 --- a/src/static/css/iframe_editor.css +++ b/src/static/css/iframe_editor.css @@ -25,7 +25,8 @@ html.inner-editor { /* ACE-PAD Container (i.e. where the text is displayed) */ #innerdocbody { - padding: 15px; + padding-left: 15px; + padding-right: 15px; overflow: hidden; background-color: white; line-height: 1.6; @@ -39,6 +40,13 @@ html.inner-editor { overflow-wrap: break-word; } +#innerdocbody, #sidediv { + /* Both must have the same top padding to line up line numbers */ + padding-top: 15px; + /* Some space when we scroll to the bottom */ + padding-bottom: 15px; +} + #innerdocbody a { color: #2e96f3; } @@ -144,4 +152,4 @@ body.mozilla, body.safari { } body.grayedout { background-color: #eee !important -} \ No newline at end of file +}