fix(scroll): mouse wheel did not scroll the page
main.agent-native-app-main is a scroll container (overflow-y:auto + overscroll-contain) whose content equals its own height, so it swallowed the wheel and the document never scrolled; the site wrapper's overflow-x:hidden also made its overflow-y compute to auto. Neutralise both scrollers so the document is the only scroller (overflow-x:clip keeps horizontal clipping). Cache safety: the patched CSS kept its old hashed filename, and nginx served /assets/* as immutable for a year, so visitors with the earlier CSS could never receive the fix. Renamed the stylesheet to a content hash and updated 34 HTML references, switched /assets/ to no-cache (revalidate, 304), bumped sw.js VERSION to v2.1.2. docs/deploy-dokploy.md updated.
This commit is contained in:
1 parent
ae34597847
commit
82374ebfdd
38 files changed
+46
-38
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ location.assign(url.href);
|
||||
event.stopImmediatePropagation();
|
||||
},true);
|
||||
})();</script><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="theme-color" content="#0D0D0D"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><meta name="apple-mobile-web-app-title" content="AlterFlixHub"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="manifest" href="/manifest.json"/><link rel="apple-touch-icon" sizes="180x180" href="/icon-180.png"/><title>เกี่ยวกับเรา — AlterFlixHub</title><meta name="description" content="AlterFlixHub รวมโรงหนังอิสระและอาร์ตเฮาส์ในประเทศไทยไว้ที่เดียว เพื่อให้คนรักหนังหาโรงที่ตรงใจและไปถึงได้ง่ายขึ้น"/><meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"/><link rel="canonical" href="https://alterflixhub.hobbypj.com/about"/><meta property="og:type" content="website"/><meta property="og:site_name" content="AlterFlixHub"/><meta property="og:locale" content="th_TH"/><meta property="og:title" content="เกี่ยวกับเรา — AlterFlixHub"/><meta property="og:description" content="AlterFlixHub รวมโรงหนังอิสระและอาร์ตเฮาส์ในประเทศไทยไว้ที่เดียว เพื่อให้คนรักหนังหาโรงที่ตรงใจและไปถึงได้ง่ายขึ้น"/><meta property="og:url" content="https://alterflixhub.hobbypj.com/about"/><meta property="og:image" content="https://alterflixhub.hobbypj.com/og/alterflixhub-1200x630.png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:alt" content="AlterFlixHub"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="เกี่ยวกับเรา — AlterFlixHub"/><meta name="twitter:description" content="AlterFlixHub รวมโรงหนังอิสระและอาร์ตเฮาส์ในประเทศไทยไว้ที่เดียว เพื่อให้คนรักหนังหาโรงที่ตรงใจและไปถึงได้ง่ายขึ้น"/><meta name="twitter:image" content="https://alterflixhub.hobbypj.com/og/alterflixhub-1200x630.png"/><link rel="modulepreload" href="/assets/manifest-3ed6c1bd.js"/><link rel="modulepreload" href="/assets/entry.client-CrdiPMsF.js"/><link rel="modulepreload" href="/assets/react-B8IZ02wI.js"/><link rel="modulepreload" href="/assets/api-path-DiLUeLL2.js"/><link rel="modulepreload" href="/assets/client-BXMKfmWK.js"/><link rel="modulepreload" href="/assets/react-dom-0ZK-Lw7i.js"/><link rel="modulepreload" href="/assets/components-LggAOTeO.js"/><link rel="modulepreload" href="/assets/components-BPFOGuol.js"/><link rel="modulepreload" href="/assets/jsx-runtime-fBfwind-.js"/><link rel="modulepreload" href="/assets/preload-helper-CZgWQFsJ.js"/><link rel="modulepreload" href="/assets/root-CJibcm3H.js"/><link rel="modulepreload" href="/assets/IconCheck-B3jDJthn.js"/><link rel="modulepreload" href="/assets/analytics-hbCOwHmS.js"/><link rel="modulepreload" href="/assets/share-origin-COlEIvGo.js"/><link rel="modulepreload" href="/assets/app-config-4aQIl_Vd.js"/><link rel="modulepreload" href="/assets/motion-DOH2EXPt.js"/><link rel="modulepreload" href="/assets/use-session-DJs-YY25.js"/><link rel="modulepreload" href="/assets/createReactComponent-C-DRqPhY.js"/><link rel="modulepreload" href="/assets/messages-nFlHChGW.js"/><link rel="modulepreload" href="/assets/optional-peer-BHoJSOIB.js"/><link rel="modulepreload" href="/assets/session-replay-endpoint-CkXvYk-L.js"/><link rel="modulepreload" href="/assets/about-BlP2WaYp.js"/><link rel="modulepreload" href="/assets/IconArrowBackUp-9ZWnW9Am.js"/><link rel="modulepreload" href="/assets/footer-icons-kTf1LTdH.js"/><link rel="modulepreload" href="/assets/SiteShell-DHgUrms6.js"/><link rel="modulepreload" href="/assets/seo-CukKNP_H.js"/><script>(function(){var root=document.documentElement;var fallback="original";try{var value=window.localStorage.getItem("theme-family:__no_app_id__");if(value===null){root.setAttribute("data-theme-family",fallback);root.setAttribute("data-theme-family-status",'awaiting-app-setting');return}if(value==='agent-native'||value==='original'){root.setAttribute("data-theme-family",value);root.removeAttribute("data-theme-family-status");return}root.setAttribute("data-theme-family",fallback);root.setAttribute("data-theme-family-status",'invalid')}catch(e){root.setAttribute("data-theme-family",fallback);root.setAttribute("data-theme-family-status",'unreadable')}})();
|
||||
(function(){function m(){var d={};return{get length(){return Object.keys(d).length},key:function(i){return Object.keys(d)[i]||null},getItem:function(k){k=String(k);return Object.prototype.hasOwnProperty.call(d,k)?d[k]:null},setItem:function(k,v){d[String(k)]=String(v)},removeItem:function(k){delete d[k]},clear:function(){d={}}}}function s(n){try{var x=window[n],p='__an_storage_probe__';x.setItem(p,'1');x.removeItem(p)}catch(e){try{Object.defineProperty(window,n,{configurable:true,value:m()})}catch(_){}}}s('localStorage');s('sessionStorage');try{var defaultTheme="system";var enableSystem=true;var stored=window.localStorage.getItem('theme');var valid=stored==='light'||stored==='dark'||stored==='system'||stored==='auto';var mode=valid?stored:defaultTheme;if(mode==='auto')mode='system';if(!enableSystem&&mode==='system')mode=defaultTheme==='system'?'light':defaultTheme;if(!valid){window.localStorage.removeItem('theme')}else if(stored!==mode){window.localStorage.setItem('theme',mode)}var prefersDark=enableSystem&&mode==='system'&&window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches;var resolved=mode==='system'?(prefersDark?'dark':'light'):mode;var root=document.documentElement;root.classList.remove('light','dark');root.classList.add(resolved);root.setAttribute('data-theme',resolved);root.style.colorScheme=resolved;var appearance=window.localStorage.getItem('appearance');var appearanceValid=appearance==='warm'||appearance==='ocean'||appearance==='forest'||appearance==='rose'||appearance==='slate';if(appearanceValid){root.setAttribute('data-appearance',appearance)}else{root.removeAttribute('data-appearance');if(appearance!==null)window.localStorage.removeItem('appearance')}}catch(e){document.documentElement.setAttribute('data-theme-status','unreadable')}})();</script><script>(function(){try{var m=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)");if(m&&m.matches){return}document.documentElement.classList.add("fx-motion")}catch(e){}})();</script><script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"หน้าแรก","item":"https://alterflixhub.hobbypj.com/"},{"@type":"ListItem","position":2,"name":"เกี่ยวกับเรา","item":"https://alterflixhub.hobbypj.com/about"}]}</script><link rel="stylesheet" href="/assets/global-DjioL_Jq.css"/><script data-agent-native-sentry-config>window.__AGENT_NATIVE_CONFIG__=Object.assign({},window.__AGENT_NATIVE_CONFIG__,{"deploymentEnvironment":"production"});</script><script data-agent-native-app-origin-config>window.__AGENT_NATIVE_CONFIG__=Object.assign({},window.__AGENT_NATIVE_CONFIG__,{"appHomePath":"/"});</script></head><body><div class="flex h-screen w-full flex-col overflow-hidden bg-background text-foreground"><main class="agent-native-app-main min-w-0 flex-1 overflow-y-auto overscroll-contain"><div class="relative flex min-h-dvh w-full flex-col overflow-x-hidden bg-[#0D0D0D] text-white"><div aria-hidden="true" class="pointer-events-none absolute inset-0 overflow-hidden"><div class="pointer-events-none absolute left-1/2 top-[649px] size-[382px] -translate-x-1/2 rounded-full bg-[#4C0404] opacity-[0.66] blur-[237px]"></div></div><header class="fx-drop relative z-10 mx-auto flex h-[68px] w-full max-w-[1440px] items-center justify-between gap-3 px-5 md:px-[108px]"><a aria-label="AlterFlixHub — หน้าแรก" class="shrink-0" href="/" data-discover="true"><span class="font-['Jersey_15'] leading-none text-4xl " style="font-family:'Jersey 15', sans-serif;color:#8F0808">AlterFlixHub</span></a><div class="flex items-center gap-1.5 sm:gap-2"><details class="group relative sm:hidden"><summary class="flex min-h-10 cursor-pointer list-none items-center rounded-lg border border-[#303030] px-3 text-sm text-[#B3B3B3] transition hover:border-[#A92626]/60 hover:text-white [&::-webkit-details-marker]:hidden">เมนู</summary><nav aria-label="เมนู" class="absolute right-0 top-[calc(100%+8px)] z-20 flex w-[220px] flex-col gap-1 rounded-xl border border-[#303030] bg-[#141414] p-2 shadow-lg"><a class="flex min-h-11 items-center rounded-lg px-3 text-sm transition text-[#B3B3B3] hover:bg-[#1B1B1B] hover:text-white" href="/for-film-lovers" data-discover="true">สำหรับคนรักหนัง</a><a class="flex min-h-11 items-center rounded-lg px-3 text-sm transition text-[#B3B3B3] hover:bg-[#1B1B1B] hover:text-white" href="/for-cinemas" data-discover="true">สำหรับคนทำโรงหนัง</a><a aria-current="page" class="flex min-h-11 items-center rounded-lg px-3 text-sm transition bg-[#242424] text-white" href="/about" data-discover="true">เกี่ยวกับเรา</a></nav></details><nav aria-label="เมนู" class="hidden items-center gap-2 sm:flex"><a class="relative flex items-center rounded-lg border px-3 py-1.5 text-sm transition after:Line truncated
|
||||
(function(){function m(){var d={};return{get length(){return Object.keys(d).length},key:function(i){return Object.keys(d)[i]||null},getItem:function(k){k=String(k);return Object.prototype.hasOwnProperty.call(d,k)?d[k]:null},setItem:function(k,v){d[String(k)]=String(v)},removeItem:function(k){delete d[k]},clear:function(){d={}}}}function s(n){try{var x=window[n],p='__an_storage_probe__';x.setItem(p,'1');x.removeItem(p)}catch(e){try{Object.defineProperty(window,n,{configurable:true,value:m()})}catch(_){}}}s('localStorage');s('sessionStorage');try{var defaultTheme="system";var enableSystem=true;var stored=window.localStorage.getItem('theme');var valid=stored==='light'||stored==='dark'||stored==='system'||stored==='auto';var mode=valid?stored:defaultTheme;if(mode==='auto')mode='system';if(!enableSystem&&mode==='system')mode=defaultTheme==='system'?'light':defaultTheme;if(!valid){window.localStorage.removeItem('theme')}else if(stored!==mode){window.localStorage.setItem('theme',mode)}var prefersDark=enableSystem&&mode==='system'&&window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches;var resolved=mode==='system'?(prefersDark?'dark':'light'):mode;var root=document.documentElement;root.classList.remove('light','dark');root.classList.add(resolved);root.setAttribute('data-theme',resolved);root.style.colorScheme=resolved;var appearance=window.localStorage.getItem('appearance');var appearanceValid=appearance==='warm'||appearance==='ocean'||appearance==='forest'||appearance==='rose'||appearance==='slate';if(appearanceValid){root.setAttribute('data-appearance',appearance)}else{root.removeAttribute('data-appearance');if(appearance!==null)window.localStorage.removeItem('appearance')}}catch(e){document.documentElement.setAttribute('data-theme-status','unreadable')}})();</script><script>(function(){try{var m=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)");if(m&&m.matches){return}document.documentElement.classList.add("fx-motion")}catch(e){}})();</script><script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"หน้าแรก","item":"https://alterflixhub.hobbypj.com/"},{"@type":"ListItem","position":2,"name":"เกี่ยวกับเรา","item":"https://alterflixhub.hobbypj.com/about"}]}</script><link rel="stylesheet" href="/assets/global-47009994.css"/><script data-agent-native-sentry-config>window.__AGENT_NATIVE_CONFIG__=Object.assign({},window.__AGENT_NATIVE_CONFIG__,{"deploymentEnvironment":"production"});</script><script data-agent-native-app-origin-config>window.__AGENT_NATIVE_CONFIG__=Object.assign({},window.__AGENT_NATIVE_CONFIG__,{"appHomePath":"/"});</script></head><body><div class="flex h-screen w-full flex-col overflow-hidden bg-background text-foreground"><main class="agent-native-app-main min-w-0 flex-1 overflow-y-auto overscroll-contain"><div class="relative flex min-h-dvh w-full flex-col overflow-x-hidden bg-[#0D0D0D] text-white"><div aria-hidden="true" class="pointer-events-none absolute inset-0 overflow-hidden"><div class="pointer-events-none absolute left-1/2 top-[649px] size-[382px] -translate-x-1/2 rounded-full bg-[#4C0404] opacity-[0.66] blur-[237px]"></div></div><header class="fx-drop relative z-10 mx-auto flex h-[68px] w-full max-w-[1440px] items-center justify-between gap-3 px-5 md:px-[108px]"><a aria-label="AlterFlixHub — หน้าแรก" class="shrink-0" href="/" data-discover="true"><span class="font-['Jersey_15'] leading-none text-4xl " style="font-family:'Jersey 15', sans-serif;color:#8F0808">AlterFlixHub</span></a><div class="flex items-center gap-1.5 sm:gap-2"><details class="group relative sm:hidden"><summary class="flex min-h-10 cursor-pointer list-none items-center rounded-lg border border-[#303030] px-3 text-sm text-[#B3B3B3] transition hover:border-[#A92626]/60 hover:text-white [&::-webkit-details-marker]:hidden">เมนู</summary><nav aria-label="เมนู" class="absolute right-0 top-[calc(100%+8px)] z-20 flex w-[220px] flex-col gap-1 rounded-xl border border-[#303030] bg-[#141414] p-2 shadow-lg"><a class="flex min-h-11 items-center rounded-lg px-3 text-sm transition text-[#B3B3B3] hover:bg-[#1B1B1B] hover:text-white" href="/for-film-lovers" data-discover="true">สำหรับคนรักหนัง</a><a class="flex min-h-11 items-center rounded-lg px-3 text-sm transition text-[#B3B3B3] hover:bg-[#1B1B1B] hover:text-white" href="/for-cinemas" data-discover="true">สำหรับคนทำโรงหนัง</a><a aria-current="page" class="flex min-h-11 items-center rounded-lg px-3 text-sm transition bg-[#242424] text-white" href="/about" data-discover="true">เกี่ยวกับเรา</a></nav></details><nav aria-label="เมนู" class="hidden items-center gap-2 sm:flex"><a class="relative flex items-center rounded-lg border px-3 py-1.5 text-sm transition after:Line truncated
|
||||
สองอยากให้คนไทยได้รู้จักหนังแปลกๆใหม่ๆ</p></article></section><div data-reveal="fade" style="--fx-delay:0ms"><section class="flex flex-col gap-6 rounded-xl p-6 backdrop-blur-sm lg:flex-row lg:items-center lg:justify-between" style="border:1px solid rgba(169,38,38,0.45);background:linear-gradient(180deg, rgba(143,8,8,0.18) 0%, rgba(27,27,27,0.85) 65%, rgba(13,13,13,0.7) 100%)"><div class="flex flex-col gap-3"><h2 class="text-2xl font-semibold leading-[1.3]">ติดต่อและแจ้งข้อมูล</h2><p class="font-content max-w-[720px] text-[16px] leading-[1.9] text-[#C4C4C4] md:text-[17px]">พบข้อมูลโรงหนังผิด การเพิ่มโรงใหม่ โรงหนังปิดกิจการ หรืออยากให้เราช่วยประชาสัมพันธ์กิจกรรม อีเมลล์ตามที่อยู่ข้างล่างนี้</p></div><div class="flex flex-wrap items-center gap-2"><a href="[email protected]" aria-label="Email" title="Email" target="_blank" rel="noreferrer" class="flex size-11 items-center justify-center rounded-full bg-white/90 text-[#0D0D0D] transition hover:bg-white"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-mail "><path d="M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10"></path><path d="M3 7l9 6l9 -6"></path></svg></a></div></section></div></main></div><footer class="relative z-10 mx-auto w-full max-w-[1440px] px-5 pb-6 md:px-[108px]"><div class="flex flex-col items-center gap-3 border-t border-white/10 pt-4 sm:flex-row sm:justify-between"><div class="flex items-center gap-4"><span class="font-['Jersey_15'] leading-none text-2xl " style="font-family:'Jersey 15', sans-serif;color:#8F0808">AlterFlixHub</span><nav aria-label="เมนูล่าง" class="flex items-center gap-3 text-xs"><a class="text-[#B3B3B3] transition hover:text-white" href="/for-film-lovers" data-discover="true">สำหรับคนรักหนัง</a><a class="text-[#B3B3B3] transition hover:text-white" href="/for-cinemas" data-discover="true">สำหรับคนทำโรงหนัง</a><a class="text-[#B3B3B3] transition hover:text-white" href="/about" data-discover="true">เกี่ยวกับเรา</a></nav></div><div class="flex flex-wrap items-center justify-center gap-1.5"><a href="[email protected]" aria-label="Email" title="Email" class="flex size-8 items-center justify-center rounded-full bg-white/90 text-[#0D0D0D] transition hover:bg-white"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-mail "><path d="M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10"></path><path d="M3 7l9 6l9 -6"></path></svg></a></div><p class="text-xs text-[#999]">Copyright © AlterFlixHub</p></div></footer></div></main></div><script>((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},``)}try{let n=JSON.parse(sessionStorage.getItem(e)||`{}`)[t||window.history.state.key];typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}})("react-router-scroll-positions", null)</script><script>window.__reactRouterContext = {"basename":"/","future":{"unstable_optimizeDeps":false},"routeDiscovery":{"mode":"initial"},"ssr":true,"isSpaMode":false};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());</script><script type="module" async="">import "/assets/manifest-3ed6c1bd.js";
|
||||
import * as route0 from "/assets/root-CJibcm3H.js";
|
||||
import * as route1 from "/assets/about-BlP2WaYp.js";
|
||||
|
||||
Reference in new issue
Block a user