diff --git a/commafeed-client/src/main.css b/commafeed-client/src/main.css new file mode 100644 index 00000000..0fdc6fd7 --- /dev/null +++ b/commafeed-client/src/main.css @@ -0,0 +1,4 @@ +html, body { + /* disable pull-to-refresh on mobile as it messes with vertical scrolling */ + overscroll-behavior: none; +} \ No newline at end of file diff --git a/commafeed-client/src/main.tsx b/commafeed-client/src/main.tsx index 990cb8df..ae32dd80 100644 --- a/commafeed-client/src/main.tsx +++ b/commafeed-client/src/main.tsx @@ -1,11 +1,12 @@ import "@fontsource/open-sans" +import { App } from "App" import { store } from "app/store" import dayjs from "dayjs" import relativeTime from "dayjs/plugin/relativeTime" +import "main.css" import "react-contexify/ReactContexify.css" import ReactDOM from "react-dom/client" import { Provider } from "react-redux" -import { App } from "./App" dayjs.extend(relativeTime)