mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
style(catalog post): improve hidden thumbnail color
This commit is contained in:
@@ -20,10 +20,10 @@
|
|||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blackThumbnail {
|
.hiddenThumbnail {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
background-color: black;
|
background-color: var(--media-thumbnail-background-color);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ const CatalogPost = ({ post }: { post: Comment }) => {
|
|||||||
<div onMouseOver={() => setHoveredCid(isDescription ? 'd' : isRules ? 'r' : cid)} onMouseLeave={() => setHoveredCid(null)}>
|
<div onMouseOver={() => setHoveredCid(isDescription ? 'd' : isRules ? 'r' : cid)} onMouseLeave={() => setHoveredCid(null)}>
|
||||||
{hidden ? (
|
{hidden ? (
|
||||||
<Link to={postLink}>
|
<Link to={postLink}>
|
||||||
<span className={`${styles.blackThumbnail} ${styles.hidden}`} />
|
<span className={styles.hiddenThumbnail} />
|
||||||
</Link>
|
</Link>
|
||||||
) : hasThumbnail ? (
|
) : hasThumbnail ? (
|
||||||
<Link to={postLink}>
|
<Link to={postLink}>
|
||||||
|
|||||||
Reference in New Issue
Block a user