diff --git a/clients/search-component/package.json b/clients/search-component/package.json index 69dcbcfbe0..e36cc03a3b 100644 --- a/clients/search-component/package.json +++ b/clients/search-component/package.json @@ -57,7 +57,7 @@ "react-dom": "^18.3.1", "tailwind": "^4.0.0", "tailwindcss": "^3.4.11", - "tailwindcss-scoped-preflight": "^3.4.4", + "tailwindcss-scoped-preflight": "^3.4.10", "typescript": "^5.6.2", "typescript-eslint": "^8.3.0" }, diff --git a/clients/search-component/src/TrieveModal/Chat/Carousel.tsx b/clients/search-component/src/TrieveModal/Chat/Carousel.tsx index e9080e3cbb..30011cded3 100644 --- a/clients/search-component/src/TrieveModal/Chat/Carousel.tsx +++ b/clients/search-component/src/TrieveModal/Chat/Carousel.tsx @@ -7,35 +7,6 @@ import React, { } from "react"; const styles = { - root: { - width: "100%", - overflow: "hidden", - }, - scroll: { - display: "flex", - overflowX: "hidden", - scrollSnapType: "x mandatory", - scrollBehavior: "smooth", - width: "100%", - listStyle: "none", - padding: 0, - margin: 0, - }, - item: { - flex: "0 0 auto", - padding: "1rem", - scrollSnapAlign: "start", - boxSizing: "border-box", - }, - itemSnapPoint: { - scrollSnapAlign: "start", - }, - controls: { - display: "flex", - justifyContent: "center", - alignItems: "center", - marginTop: "5px", - }, nextPrevButton: { fontSize: "16px", cursor: "pointer", @@ -109,15 +80,13 @@ export const Carousel = ({ children }: { children: React.ReactNode }) => { const goToPage = (pageIndex: number) => setCurrentPage(pageIndex); return ( -
-