signature: restore lean dots, reduced-motion redraw, above-fold reveal and map focus rings
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -47,14 +47,16 @@ export class RevealDirective {
|
||||
return;
|
||||
}
|
||||
|
||||
this.host.nativeElement.classList.add('reveal-pending');
|
||||
this.observer = new view.IntersectionObserver(
|
||||
(entries) => {
|
||||
if (entries.some((entry) => entry.isIntersecting)) {
|
||||
this.host.nativeElement.classList.remove('reveal-pending');
|
||||
this.host.nativeElement.classList.add('is-revealed');
|
||||
this.disconnect();
|
||||
return;
|
||||
}
|
||||
|
||||
this.host.nativeElement.classList.add('reveal-pending');
|
||||
},
|
||||
{
|
||||
rootMargin: '0px 0px -8% 0px',
|
||||
|
||||
Reference in New Issue
Block a user