From b74f919939bcd09bc5523e4dfe4b2c24a6d08659 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Wed, 28 Feb 2024 15:08:39 +0300 Subject: [PATCH] apps/web: fix antd breaks webkit-scroll style override --- apps/web/pages/_app.jsx | 1 + apps/web/styles/antd-fix.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 apps/web/styles/antd-fix.css diff --git a/apps/web/pages/_app.jsx b/apps/web/pages/_app.jsx index 5e0f122..6cb442a 100644 --- a/apps/web/pages/_app.jsx +++ b/apps/web/pages/_app.jsx @@ -1,6 +1,7 @@ import 'normalize.css'; import '../styles/fonts.css'; import '../styles/globals.css'; +import '../styles/antd-fix.css'; import initializeQueryClient from '@/api/client'; import initializeApollo from '@/apollo/client'; import { Notification } from '@/Components/Common/Notification'; diff --git a/apps/web/styles/antd-fix.css b/apps/web/styles/antd-fix.css new file mode 100644 index 0000000..bfd5a6a --- /dev/null +++ b/apps/web/styles/antd-fix.css @@ -0,0 +1,4 @@ +/* fix antd tables override scroll style */ +.ant-table { + scrollbar-color: unset !important; +}