From 0b850e6ae5a835afa71a1564e154acc383593a76 Mon Sep 17 00:00:00 2001 From: Lanskikh Date: Fri, 5 Jul 2024 19:01:30 +0500 Subject: [PATCH] scrollbar for tabs --- package.json | 1 + src/components/Layout/Navbar.tsx | 2 +- src/components/Main/Availables.tsx | 3 ++- src/components/Main/Products.tsx | 5 +++-- src/components/Main/Projects.tsx | 2 +- tailwind.config.js | 31 +++++++++++++++--------------- vite.config.ts | 6 +++--- yarn.lock | 5 +++++ 8 files changed, 31 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index be63aa8..39a6091 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "eslint-plugin-react-refresh": "^0.4.7", "postcss": "^8.4.38", "prettier": "^3.3.2", + "tailwind-scrollbar": "^3.1.0", "tailwindcss": "^3.4.4", "typescript": "^5.2.2", "vite": "^5.3.1" diff --git a/src/components/Layout/Navbar.tsx b/src/components/Layout/Navbar.tsx index 0ce2a6e..7c81e07 100644 --- a/src/components/Layout/Navbar.tsx +++ b/src/components/Layout/Navbar.tsx @@ -26,7 +26,7 @@ export function Navbar() { - {!menuOpen && } +