From 300514d2d89f211edfd81fe5f2c09f2bb3dd3f22 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Fri, 5 Sep 2025 23:13:56 -0700 Subject: [PATCH] Update vite.config.js --- vite.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 949abee..d462011 100644 --- a/vite.config.js +++ b/vite.config.js @@ -32,7 +32,8 @@ export default defineConfig({ { tag:'script', attrs:{ src:'https://cdn.jsdelivr.net/npm/tiny-ripple@0.2.0' }, injectTo:'head' }, { tag:'style', children:':root{--safe-bottom:env(safe-area-inset-bottom)}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:999px}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}', injectTo:'head' }, { tag:'style', children:'html,body{overscroll-behavior-y:contain}', injectTo:'head' }, - { tag:'style', children:'', injectTo:'head' } + { tag:'style', children:'', injectTo:'head' }, + { tag:'script', children:"(()=>{let k,v=visualViewport;const f=()=>{removeEventListener('popstate',f),document.activeElement?.blur()};v.onresize=()=>{let o=v.height