diff --git a/src/components/Main/Products.tsx b/src/components/Main/Products.tsx
index 789f0c5..56f0ca6 100644
--- a/src/components/Main/Products.tsx
+++ b/src/components/Main/Products.tsx
@@ -23,7 +23,7 @@ export function Products() {
-
+
setCurTab(0)}
@@ -231,8 +231,9 @@ function SimulatorsTab() {
}}
>
{width < 640 ? (
- order.map(src => (
+ order.map((src, index) => (
diff --git a/tailwind.config.js b/tailwind.config.js
index e02db07..57ff385 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -1,31 +1,30 @@
+import tailwindScrollbar from 'tailwind-scrollbar';
+
/** @type {import('tailwindcss').Config} */
export default {
- content: [
- "./index.html",
- "./src/**/*.{js,ts,jsx,tsx}",
- ],
+ content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
screens: {
- "mobile": '360px',
- "tablet": '640px',
- "tablet-figma": '768px',
- "desktop": '1024px',
- "desktop-figma": '1600px',
+ mobile: '360px',
+ tablet: '640px',
+ 'tablet-figma': '768px',
+ desktop: '1024px',
+ 'desktop-figma': '1600px',
},
colors: {
- "text-gradient": '-webkit-linear-gradient(#798FFF, #D375FF)'
- }, animation: {
+ 'text-gradient': '-webkit-linear-gradient(#798FFF, #D375FF)',
+ },
+ animation: {
'infinite-scroll': 'infinite-scroll 25s linear infinite',
},
keyframes: {
'infinite-scroll': {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(-100%)' },
- }
- }
+ },
+ },
},
},
- plugins: [],
-}
-
+ plugins: [tailwindScrollbar({ nocompatible: true })],
+};
diff --git a/vite.config.ts b/vite.config.ts
index 5a33944..627a319 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -1,7 +1,7 @@
-import { defineConfig } from 'vite'
-import react from '@vitejs/plugin-react'
+import { defineConfig } from 'vite';
+import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
-})
+});
diff --git a/yarn.lock b/yarn.lock
index 3433074..a07d7e2 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1992,6 +1992,11 @@ supports-preserve-symlinks-flag@^1.0.0:
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
+tailwind-scrollbar@^3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/tailwind-scrollbar/-/tailwind-scrollbar-3.1.0.tgz#ff7596407b6da5209261d8ff03860ab9206a59e3"
+ integrity sha512-pmrtDIZeHyu2idTejfV59SbaJyvp1VRjYxAjZBH0jnyrPRo6HL1kD5Glz8VPagasqr6oAx6M05+Tuw429Z8jxg==
+
tailwindcss@^3.4.4:
version "3.4.4"
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.4.4.tgz#351d932273e6abfa75ce7d226b5bf3a6cb257c05"