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;
|
||||
}
|
||||
|
||||
.blackThumbnail {
|
||||
.hiddenThumbnail {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
background-color: black;
|
||||
background-color: var(--media-thumbnail-background-color);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
@@ -175,7 +175,7 @@ const CatalogPost = ({ post }: { post: Comment }) => {
|
||||
<div onMouseOver={() => setHoveredCid(isDescription ? 'd' : isRules ? 'r' : cid)} onMouseLeave={() => setHoveredCid(null)}>
|
||||
{hidden ? (
|
||||
<Link to={postLink}>
|
||||
<span className={`${styles.blackThumbnail} ${styles.hidden}`} />
|
||||
<span className={styles.hiddenThumbnail} />
|
||||
</Link>
|
||||
) : hasThumbnail ? (
|
||||
<Link to={postLink}>
|
||||
|
||||
Reference in New Issue
Block a user