1
0
Fork 0

Improve highlighted comment scrollTo, improve reply comment display

This commit is contained in:
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 { button {
@include peertube-button; @include peertube-button;
@include disable-outline;
@include disable-default-a-behaviour;
&:not(:last-child) {
margin-right: .5rem;
}
&:last-child { &:last-child {
@include orange-button; @include orange-button;

View file

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