mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
css: Line up line numbers with their rows
Tested with both `no-skin` and `colibris`.
This commit is contained in:
parent
ec6b983917
commit
0a836ced29
1 changed files with 10 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue