mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-11 21:19:43 +00:00
only add gradient to bottom of channel cover
This commit is contained in:
parent
fa246a7f1f
commit
7f6c5c544e
2 changed files with 19 additions and 1 deletions
|
@ -186,6 +186,7 @@ function ChannelPage(props: Props) {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="channel-cover__gradient" />
|
||||||
</header>
|
</header>
|
||||||
<Tabs onChange={onTabChange} index={tabIndex}>
|
<Tabs onChange={onTabChange} index={tabIndex}>
|
||||||
<TabList className="tabs__list--channel-page">
|
<TabList className="tabs__list--channel-page">
|
||||||
|
|
|
@ -15,7 +15,6 @@ $metadata-z-index: 1;
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
filter: brightness(60%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.channel-cover,
|
.channel-cover,
|
||||||
|
@ -32,6 +31,24 @@ $metadata-z-index: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.channel-cover__gradient {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
opacity: 1;
|
||||||
|
content: '';
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
width: 100%;
|
||||||
|
background: linear-gradient(0deg, #0d0d0d 0, transparent 65%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.channel-thumbnail {
|
.channel-thumbnail {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 5rem;
|
height: 5rem;
|
||||||
|
|
Loading…
Add table
Reference in a new issue