Skip to content

Commit

Permalink
Merge pull request #15 from TusharSin810/main
Browse files Browse the repository at this point in the history
Scroll Bar Removed
  • Loading branch information
TusharSin810 authored Oct 10, 2024
2 parents 73b4c19 + 02dadec commit 5e7bfe2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Footer from "../components/Footer/Index";
import Hero from "../components/Hero/Index";
export default function Home() {
return (
<>
<div className="h-screen w-screen no-scrollbar overflow-y-scroll overflow-x-hidden">
<Head>
<title>Innovate 2.0</title>
<link rel="shortcut icon" href="/qiskit.png" />
Expand All @@ -25,6 +25,6 @@ export default function Home() {
<Agenda />
</main>
<Footer />
</>
</div>
);
}
14 changes: 13 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,17 @@ module.exports = {
},
},
},
plugins: [],
plugins: [
function ({addUtilities}){
const newUtilities = {
'.no-scrollbar::-webkit-scrollbar':{
display: 'none',
},
'.no-scrollbar':{
'-ms-overflow-style':'none',
'scrollbar-width': 'none'
},
}
addUtilities(newUtilities)
}],
};
11 changes: 8 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,15 @@
dependencies:
glob "7.1.7"

"@next/swc-win32-x64-msvc@12.3.1":
"@next/swc-linux-x64-gnu@12.3.1":
version "12.3.1"
resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.3.1.tgz"
integrity sha512-W1ijvzzg+kPEX6LAc+50EYYSEo0FVu7dmTE+t+DM4iOLqgGHoW9uYSz9wCVdkXOEEMP9xhXfGpcSxsfDucyPkA==
resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.3.1.tgz"
integrity sha512-JWEaMyvNrXuM3dyy9Pp5cFPuSSvG82+yABqsWugjWlvfmnlnx9HOQZY23bFq3cNghy5V/t0iPb6cffzRWylgsA==

"@next/[email protected]":
version "12.3.1"
resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.3.1.tgz"
integrity sha512-xoEWQQ71waWc4BZcOjmatuvPUXKTv6MbIFzpm4LFeCHsg2iwai0ILmNXf81rJR+L1Wb9ifEke2sQpZSPNz1Iyg==

"@nodelib/[email protected]":
version "2.1.5"
Expand Down

0 comments on commit 5e7bfe2

Please sign in to comment.