diff --git a/src/pages/status.css b/src/pages/status.css index dbd49d12..49bca448 100644 --- a/src/pages/status.css +++ b/src/pages/status.css @@ -7,6 +7,7 @@ text-overflow: ellipsis; overflow: hidden; white-space: nowrap; + align-self: stretch; } .status-deck header h1 .deck-back { margin-left: -16px; diff --git a/src/pages/status.jsx b/src/pages/status.jsx index 9ac5024e..69612e4f 100644 --- a/src/pages/status.jsx +++ b/src/pages/status.jsx @@ -735,7 +735,13 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) { <> { + queueMicrotask(() => { + requestAnimationFrame(() => { + setHeroInView(inView); + }); + }); + }} class="status-focus" tabIndex={0} > @@ -813,7 +819,13 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) { { + queueMicrotask(() => { + requestAnimationFrame(() => { + setReachTopPost(inView); + }); + }); + }} >