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" }} >