ui: change a bit the architecture of sidediv line number

So we can easily customize with plugins, such as ep_author_neat
This commit is contained in:
Sebastian Castro 2020-05-01 16:43:25 +02:00 committed by muxator
parent a522db3ef4
commit 9587c1c673
3 changed files with 10 additions and 10 deletions

View file

@ -106,12 +106,12 @@ body.doesWrap:not(.noprewrap) > div {
#sidediv:not(.sidedivdelayed) { /* before sidediv get initialized, hide text */
color: transparent;
}
#sidediv.sidedivhidden {
/* Do not use display: none to hide the sidediv, otherwise the parent container does not
get its height properly calculated by flexboxes */
visibility: hidden;
width: 0;
padding: 0;
.line-numbers-hidden #sidediv .line-number {
display: none;
}
#sidediv:not(.authorColors) #sidedivinner>div:before {
content: none !important;
}
}
#linemetricsdiv {
position: absolute;