levineuwirth.org/static
Levi Neuwirth 76bda7af13 Popups: always clamp into the viewport
positionPopup clamped horizontally but never vertically: the
flip-above branch positioned tall popups (rich layouts, lead figures)
above the visible region whenever the target sat near the top of the
screen. Placement is now: below if it fits, above if THAT fits, else
the roomier side — then clamped into the viewport on both axes.
.link-popup is additionally capped at viewport height (matching GAP,
overflow-y: auto) so the clamp always has room to work, and a
dimension-less image that loads after positioning re-clamps instead of
growing past the edge.

Verified by simulating the clamp across five viewport scenarios: the
near-top bug case moves from 470px above the viewport to fully
visible; the fits-below and flip-above cases are unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 13:14:14 -04:00
..
css Popups: always clamp into the viewport 2026-06-10 13:14:14 -04:00
fonts initial deploy! whoop 2026-03-17 21:56:14 -04:00
gpg GPG signing, embedding pipeline, visualization filter, search timing, sig popups 2026-03-20 20:14:49 -04:00
images Tooling, manifest, and content polish 2026-06-10 11:13:34 -04:00
js Popups: always clamp into the viewport 2026-06-10 13:14:14 -04:00
papers Branch preprint 2026-05-06 12:21:59 -04:00
templates Marks I 2026-05-07 23:51:14 -04:00
apple-touch-icon.png Branding: traced logo mark, regenerated favicons, og-image 2026-06-09 18:57:34 -04:00
cv.pdf Internal audit 2026-05-07 17:20:27 -04:00
cv.thumb.png Fix popup previews: proxy prefix-strip bug, arXiv IDs, Wikipedia images 2026-06-10 12:06:13 -04:00
favicon-96x96.png Branding: traced logo mark, regenerated favicons, og-image 2026-06-09 18:57:34 -04:00
favicon.ico Branding diet: logo sprite via <use>, lean favicon.ico, simple mask icon 2026-06-10 10:43:06 -04:00
favicon.svg Branding: traced logo mark, regenerated favicons, og-image 2026-06-09 18:57:34 -04:00
logo-sprite.svg Branding diet: logo sprite via <use>, lean favicon.ico, simple mask icon 2026-06-10 10:43:06 -04:00
og-image.png Branding: traced logo mark, regenerated favicons, og-image 2026-06-09 18:57:34 -04:00
resume.pdf Internal audit 2026-05-07 17:20:27 -04:00
resume.thumb.png Fix popup previews: proxy prefix-strip bug, arXiv IDs, Wikipedia images 2026-06-10 12:06:13 -04:00
site.webmanifest Tooling, manifest, and content polish 2026-06-10 11:13:34 -04:00
web-app-manifest-192x192.png Branding: traced logo mark, regenerated favicons, og-image 2026-06-09 18:57:34 -04:00
web-app-manifest-512x512.png Branding: traced logo mark, regenerated favicons, og-image 2026-06-09 18:57:34 -04:00