From 5578511f365464f0ffa7ef22651d2280b8bbf365 Mon Sep 17 00:00:00 2001 From: Anubhav Date: Sat, 13 Jan 2024 21:18:26 +0000 Subject: [PATCH] set overflow x to hidden --- .gitpod.yml | 11 +++++++++++ .vscode/settings.json | 2 +- website/src/components/Nav.tsx | 2 +- website/src/pages/_app.js | 4 ++-- website/src/styles/index.css | 4 ++++ 5 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 000000000..8238b6306 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,11 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +tasks: + - init: yarn install && yarn run build + command: yarn run dev + + diff --git a/.vscode/settings.json b/.vscode/settings.json index e56b4cfc8..11a40855a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,6 +2,6 @@ "typescript.tsdk": "node_modules/typescript/lib", "editor.formatOnSave": false, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, } diff --git a/website/src/components/Nav.tsx b/website/src/components/Nav.tsx index 74b2be18a..be7bd2a7b 100644 --- a/website/src/components/Nav.tsx +++ b/website/src/components/Nav.tsx @@ -8,7 +8,7 @@ import { Logo } from './Logo'; export const Nav: React.FC = () => { const router = useRouter(); return ( -
+
diff --git a/website/src/pages/_app.js b/website/src/pages/_app.js index fb2cebb16..af6ec4e44 100644 --- a/website/src/pages/_app.js +++ b/website/src/pages/_app.js @@ -4,10 +4,10 @@ import { Analytics } from '@vercel/analytics/react'; function MyApp({ Component, pageProps }) { return ( - <> +
- +
); } diff --git a/website/src/styles/index.css b/website/src/styles/index.css index 394b105bb..648afc66d 100644 --- a/website/src/styles/index.css +++ b/website/src/styles/index.css @@ -190,3 +190,7 @@ details > summary { @tailwind utilities; /* purgecss end ignore */ + +#container{ +overflow-x: hidden; +} \ No newline at end of file