diff --git a/src/components/Group/GroupInvites.tsx b/src/components/Group/GroupInvites.tsx index 079493a..0eda0f6 100644 --- a/src/components/Group/GroupInvites.tsx +++ b/src/components/Group/GroupInvites.tsx @@ -125,6 +125,7 @@ export const GroupInvites = ({ myAddress, setOpenAddGroup }) => { maxHeight: "300px", overflow: "auto", }} + className="scrollable-container" > {groupsWithJoinRequests?.map((group) => { return ( diff --git a/src/components/Group/GroupJoinRequests.tsx b/src/components/Group/GroupJoinRequests.tsx index 32306bc..4c484aa 100644 --- a/src/components/Group/GroupJoinRequests.tsx +++ b/src/components/Group/GroupJoinRequests.tsx @@ -172,7 +172,7 @@ export const GroupJoinRequests = ({ myAddress, groups, setOpenManageMembers, get )} - + {filteredJoinRequests?.map((group)=> { if(group?.data?.length === 0) return null return ( diff --git a/src/components/Group/ListOfGroupPromotions.tsx b/src/components/Group/ListOfGroupPromotions.tsx index 9cdf8a8..fdc13f2 100644 --- a/src/components/Group/ListOfGroupPromotions.tsx +++ b/src/components/Group/ListOfGroupPromotions.tsx @@ -685,6 +685,7 @@ export const ListOfGroupPromotions = () => { rowHeight={cache.rowHeight} rowRenderer={rowRenderer} deferredMeasurementCache={cache} + className="scrollable-container" /> )} diff --git a/src/components/Group/ListOfThreadPostsWatched.tsx b/src/components/Group/ListOfThreadPostsWatched.tsx index 06e13de..6e24ba3 100644 --- a/src/components/Group/ListOfThreadPostsWatched.tsx +++ b/src/components/Group/ListOfThreadPostsWatched.tsx @@ -135,6 +135,7 @@ export const ListOfThreadPostsWatched = () => { )} {posts?.length > 0 && ( { "; + inherits: true; + initial-value: transparent; +} + + +.scrollable-container { + transition: --var1 0.4s; + +} + +.scrollable-container:hover { + --var1: #444444; +} + +.scrollable-container::-webkit-scrollbar-thumb { + background-color: var(--var1); + border-radius: 8px; + background-clip: content-box; + border: 4px solid transparent; + opacity: 0; +} + + + + + + /* Mobile-specific scrollbar styles */ @media only screen and (max-width: 600px) { ::-webkit-scrollbar {