tweak focusing status in thread
This commit is contained in:
parent
560cf19903
commit
2b6ad187ac
|
@ -36,6 +36,9 @@
|
||||||
.status-selected {
|
.status-selected {
|
||||||
background-color: #0f111a;
|
background-color: #0f111a;
|
||||||
background-color: desaturate(lighten(#0f111a, 5%), 4%);
|
background-color: desaturate(lighten(#0f111a, 5%), 4%);
|
||||||
|
background-color: #0a0a13;
|
||||||
|
background-color: #0a0a12;
|
||||||
|
background-color: #0a0a10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
|
|
|
@ -173,7 +173,7 @@ export class ThreadComponent implements OnInit, OnDestroy {
|
||||||
const el = this.statusChildren.toArray()[position];
|
const el = this.statusChildren.toArray()[position];
|
||||||
el.isSelected = true;
|
el.isSelected = true;
|
||||||
// el.elem.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'start' });
|
// el.elem.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'start' });
|
||||||
el.elem.nativeElement.scrollIntoView({ behavior: 'auto', block: 'nearest', inline: 'start' });
|
el.elem.nativeElement.scrollIntoView({ behavior: 'auto', block: 'start', inline: 'nearest' });
|
||||||
}, 0);
|
}, 0);
|
||||||
})
|
})
|
||||||
.catch((err: HttpErrorResponse) => {
|
.catch((err: HttpErrorResponse) => {
|
||||||
|
|
Loading…
Reference in New Issue