mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-20 10:05:56 +00:00
change scroller bg color
This commit is contained in:
parent
e5292e5108
commit
bc334148bd
@ -125,6 +125,7 @@ export const GroupInvites = ({ myAddress, setOpenAddGroup }) => {
|
||||
maxHeight: "300px",
|
||||
overflow: "auto",
|
||||
}}
|
||||
className="scrollable-container"
|
||||
>
|
||||
{groupsWithJoinRequests?.map((group) => {
|
||||
return (
|
||||
|
@ -172,7 +172,7 @@ export const GroupJoinRequests = ({ myAddress, groups, setOpenManageMembers, get
|
||||
</Typography>
|
||||
</Box>
|
||||
)}
|
||||
<List sx={{ width: "100%", maxWidth: 360, bgcolor: "background.paper", maxHeight: '300px', overflow: 'auto' }}>
|
||||
<List className="scrollable-container" sx={{ width: "100%", maxWidth: 360, bgcolor: "background.paper", maxHeight: '300px', overflow: 'auto' }}>
|
||||
{filteredJoinRequests?.map((group)=> {
|
||||
if(group?.data?.length === 0) return null
|
||||
return (
|
||||
|
@ -685,6 +685,7 @@ export const ListOfGroupPromotions = () => {
|
||||
rowHeight={cache.rowHeight}
|
||||
rowRenderer={rowRenderer}
|
||||
deferredMeasurementCache={cache}
|
||||
className="scrollable-container"
|
||||
/>
|
||||
)}
|
||||
</AutoSizer>
|
||||
|
@ -135,6 +135,7 @@ export const ListOfThreadPostsWatched = () => {
|
||||
)}
|
||||
{posts?.length > 0 && (
|
||||
<List
|
||||
className="scrollable-container"
|
||||
sx={{
|
||||
width: "100%",
|
||||
maxWidth: 360,
|
||||
|
@ -129,6 +129,7 @@ export const QMailMessages = ({userName, userAddress}) => {
|
||||
</Box>
|
||||
|
||||
<Box
|
||||
className="scrollable-container"
|
||||
sx={{
|
||||
width: "322px",
|
||||
height: isMobile ? "165px" : "250px",
|
||||
|
@ -79,12 +79,41 @@ body {
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: white;
|
||||
background-color: #444444;
|
||||
border-radius: 8px;
|
||||
background-clip: content-box;
|
||||
border: 4px solid transparent;
|
||||
}
|
||||
|
||||
@property --var1 {
|
||||
syntax: "<color>";
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user