Merge pull request #4497 from tsiegleauq/motionslides-linenumber-height
Fix motion slide line number alignment
This commit is contained in:
commit
b30340b72f
@ -65,7 +65,7 @@
|
||||
&:after {
|
||||
content: attr(data-line-number);
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
top: 13px;
|
||||
vertical-align: top;
|
||||
color: gray;
|
||||
font-size: 12px;
|
||||
|
@ -19,3 +19,15 @@
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
/* override the absolute position of outside linenumbers on motion slide */
|
||||
:host ::ng-deep .motion-text {
|
||||
&.line-numbers-outside {
|
||||
.os-line-number {
|
||||
&:after {
|
||||
top: 19px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -45,7 +45,7 @@
|
||||
&:after {
|
||||
content: attr(data-line-number);
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
top: 13px;
|
||||
vertical-align: top;
|
||||
color: gray;
|
||||
font-size: 12px;
|
||||
|
Loading…
Reference in New Issue
Block a user