css: Line up line numbers with their rows

Tested with both `no-skin` and `colibris`.
pull/4269/head
Richard Hansen 2020-09-15 00:35:59 -04:00 committed by John McLear
parent ec6b983917
commit 0a836ced29
1 changed files with 10 additions and 2 deletions

View File

@ -25,7 +25,8 @@ html.inner-editor {
/* ACE-PAD Container (i.e. where the text is displayed) */ /* ACE-PAD Container (i.e. where the text is displayed) */
#innerdocbody { #innerdocbody {
padding: 15px; padding-left: 15px;
padding-right: 15px;
overflow: hidden; overflow: hidden;
background-color: white; background-color: white;
line-height: 1.6; line-height: 1.6;
@ -39,6 +40,13 @@ html.inner-editor {
overflow-wrap: break-word; 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 { #innerdocbody a {
color: #2e96f3; color: #2e96f3;
} }