Improve highlighted comment scrollTo, improve reply comment display

pull/2639/head
Rigel Kent 2020-04-10 16:51:02 +02:00
parent 670e955c22
commit b7e2168115
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
2 changed files with 8 additions and 1 deletions

View File

@ -36,6 +36,12 @@ form {
button {
@include peertube-button;
@include disable-outline;
@include disable-default-a-behaviour;
&:not(:last-child) {
margin-right: .5rem;
}
&:last-child {
@include orange-button;

View File

@ -38,7 +38,8 @@
(nearOfBottom)="onNearOfBottom()"
[dataObservable]="onDataSubject.asObservable()"
>
<div #commentHighlightBlock id="highlighted-comment">
<div>
<div class="anchor" #commentHighlightBlock id="highlighted-comment"></div>
<my-video-comment
*ngIf="highlightedThread"
[comment]="highlightedThread"