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 {
|
&:after {
|
||||||
content: attr(data-line-number);
|
content: attr(data-line-number);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: 13px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
color: gray;
|
color: gray;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -19,3 +19,15 @@
|
|||||||
margin-bottom: 0px;
|
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 {
|
&:after {
|
||||||
content: attr(data-line-number);
|
content: attr(data-line-number);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: 13px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
color: gray;
|
color: gray;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
Loading…
Reference in New Issue
Block a user