From 89fcdf7beebb12be2af3e5268531f742b3840a4c Mon Sep 17 00:00:00 2001 From: Tamara Date: Tue, 9 Jan 2024 19:11:48 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=B2=D1=81=D0=B5=D1=85=20=D1=81=D0=BA=D1=80=D0=BE=D0=BB=D0=BB?= =?UTF-8?q?-=D0=B1=D0=B0=D1=80=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.css | 8 ++++++++ src/pages/ViewPublicationPage/ContactForm.tsx | 3 +++ 2 files changed, 11 insertions(+) diff --git a/src/index.css b/src/index.css index 6f14e2b..07fdd42 100755 --- a/src/index.css +++ b/src/index.css @@ -6,6 +6,14 @@ body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } +/*скрывает все скролл-бары*/ +body * { + -ms-overflow-style: none; + scrollbar-width: none; +} +body * ::-webkit-scrollbar { + display: none; +} code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', diff --git a/src/pages/ViewPublicationPage/ContactForm.tsx b/src/pages/ViewPublicationPage/ContactForm.tsx index 97c6311..81e2825 100644 --- a/src/pages/ViewPublicationPage/ContactForm.tsx +++ b/src/pages/ViewPublicationPage/ContactForm.tsx @@ -135,6 +135,9 @@ export const ContactForm = ({ backgroundColor: theme.palette.background.default, height: "100vh", overflow: "auto", + "&::-webkit-scrollbar": { width: "0", display: "none", msOverflowStyle: "none" }, + scrollbarWidth: "none", + msOverflowStyle: "none" }} >