fix: keep post nav arrows outside the modal and stop scroll chaining
Docker Build and Publish / build-and-push (push) Failing after 10s
Docker Build and Publish / build-and-push (push) Failing after 10s
The prev/next arrows are fixed to the viewport edges while the modal grows to fill the available width, so below roughly 1200px the modal slid underneath them and a white chevron landed on the white caption panel — invisible until hovered. The overlay now reserves a horizontal gutter (md:px-16 lg:px-24) so the arrows always sit outside the modal, and they get a solid white pill with a dark chevron so they read against anything behind them. Verified clearing the modal at 768, 1024, 1440 and 1920px. The caption sidebar shrinks to w-80 at md so the narrower modal doesn't squeeze the media pane. Also adds overscroll-contain to the overlay: the wheel previously chained through to the post grid behind it, scrolling the background while a post was open. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011uBWhwV3wFQ5MBCcMHHem7
This commit is contained in:
co-authored by
Claude Opus 5
parent
ae0f075855
commit
c5b0a5cb5f
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "instaarchive-viewer",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "instaarchive-viewer",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.3",
|
||||
"dependencies": {
|
||||
"@tailwindcss/vite": "^4.1.14",
|
||||
"@vitejs/plugin-react": "^5.0.4",
|
||||
|
||||
Reference in New Issue
Block a user