From 53857c2a83ddf49f8886f5298a24506ccfa38a72 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Fri, 29 Aug 2025 17:28:40 +0000 Subject: [PATCH] Improve scrolling experience by hiding all scrollbars Hide all scrollbars globally using CSS and remove specific scrollbar styles from the SimpleCarousel component. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/yexZbDm --- attached_assets/image_1756488439771.png | Bin 0 -> 2082 bytes client/src/components/simple-carousel.tsx | 5 ++--- client/src/index.css | 24 ++++++++++++++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 attached_assets/image_1756488439771.png diff --git a/attached_assets/image_1756488439771.png b/attached_assets/image_1756488439771.png new file mode 100644 index 0000000000000000000000000000000000000000..fa8201cf5388717fbae70ccda86672e9d3fc178c GIT binary patch literal 2082 zcmZ9Nd05if8po|kky12momAYpP1abA3vPv3silI+wV`N>cpgEIr8 z(FO*Pwnbagm2orCzyQ<~6o81xi~U%BkUG-5a`$7) z?{eC8&p6I1>AS(}-Os+GguOgF?7oCswQKz1wY(N}c2(c|t_oeu?Z$+pEA9)cSk<{M zNsUIlGpUN)*ZcA#g>mB_5*JSNIY$yQ71nI8+B9u-9A|LIOmff2!&5DYy(91Ncv$5m zj=Dv{KcUSpJ--?mC^78ONed~*Ow%)`8Qe*^!?LdQMEna&M6&-7QY9aTe_lFq2{-_S zILn`k=AXcxk~+jrt`4ItCJh{6MyuAHjtCK=V3z(g6-c7}*gK0_QuiNUyIXNU;F z;iP>eH5esX5s(#H4nCM6M%heO7tJljL{!F?nCxs27JP|IPT>yyZQZ{bvZv|E1TzfgPQlbpfZV76-``Zp0V4gkn-1mfotCe`EM&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qLJ}fUnFDllzP(@E-__W?U2z+enD@e1iVjTy#p<1 zYZU2@VW}&)?>4Y8=rAFY|9HSMYjdXa)MT?%?(ApxwH9Dwf}5~ki%;bp0i+?#$iEl{9ZJAQsaKlUVfDT=^uzg=;~ow@(yhy{=xOt?8t8__?v36SM(#^ zO6P(7C>Mp`&wDa(Nioye>fBC#?>IWt2IweIo$ojCu2s5F9u{2B9VmGvI!+H0gsPSBZBq+x
diff --git a/client/src/index.css b/client/src/index.css index 3b895dc..242a934 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -2,6 +2,30 @@ @tailwind components; @tailwind utilities; +/* Hide ALL scrollbars globally - especially for mobile */ +* { + scrollbar-width: none !important; + -ms-overflow-style: none !important; +} + +*::-webkit-scrollbar { + display: none !important; + width: 0 !important; + height: 0 !important; +} + +html, body { + scrollbar-width: none !important; + -ms-overflow-style: none !important; +} + +html::-webkit-scrollbar, +body::-webkit-scrollbar { + display: none !important; + width: 0 !important; + height: 0 !important; +} + :root { --background: hsl(222, 84%, 4.9%); --foreground: hsl(210, 40%, 98%);