mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-23 19:37:52 +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",
|
maxHeight: "300px",
|
||||||
overflow: "auto",
|
overflow: "auto",
|
||||||
}}
|
}}
|
||||||
|
className="scrollable-container"
|
||||||
>
|
>
|
||||||
{groupsWithJoinRequests?.map((group) => {
|
{groupsWithJoinRequests?.map((group) => {
|
||||||
return (
|
return (
|
||||||
|
@ -172,7 +172,7 @@ export const GroupJoinRequests = ({ myAddress, groups, setOpenManageMembers, get
|
|||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</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)=> {
|
{filteredJoinRequests?.map((group)=> {
|
||||||
if(group?.data?.length === 0) return null
|
if(group?.data?.length === 0) return null
|
||||||
return (
|
return (
|
||||||
|
@ -685,6 +685,7 @@ export const ListOfGroupPromotions = () => {
|
|||||||
rowHeight={cache.rowHeight}
|
rowHeight={cache.rowHeight}
|
||||||
rowRenderer={rowRenderer}
|
rowRenderer={rowRenderer}
|
||||||
deferredMeasurementCache={cache}
|
deferredMeasurementCache={cache}
|
||||||
|
className="scrollable-container"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</AutoSizer>
|
</AutoSizer>
|
||||||
|
@ -135,6 +135,7 @@ export const ListOfThreadPostsWatched = () => {
|
|||||||
)}
|
)}
|
||||||
{posts?.length > 0 && (
|
{posts?.length > 0 && (
|
||||||
<List
|
<List
|
||||||
|
className="scrollable-container"
|
||||||
sx={{
|
sx={{
|
||||||
width: "100%",
|
width: "100%",
|
||||||
maxWidth: 360,
|
maxWidth: 360,
|
||||||
|
@ -129,6 +129,7 @@ export const QMailMessages = ({userName, userAddress}) => {
|
|||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<Box
|
<Box
|
||||||
|
className="scrollable-container"
|
||||||
sx={{
|
sx={{
|
||||||
width: "322px",
|
width: "322px",
|
||||||
height: isMobile ? "165px" : "250px",
|
height: isMobile ? "165px" : "250px",
|
||||||
|
@ -79,12 +79,41 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
background-color: white;
|
background-color: #444444;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background-clip: content-box;
|
background-clip: content-box;
|
||||||
border: 4px solid transparent;
|
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 */
|
/* Mobile-specific scrollbar styles */
|
||||||
@media only screen and (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user