css: Line up line numbers with their rows
Tested with both `no-skin` and `colibris`.pull/4269/head
parent
ec6b983917
commit
0a836ced29
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue