diff --git a/src/components/post/expando/expando.module.css b/src/components/post/expando/expando.module.css index f05a91ce..606c4b13 100644 --- a/src/components/post/expando/expando.module.css +++ b/src/components/post/expando/expando.module.css @@ -60,6 +60,7 @@ border: 1px solid var(--text-primary); background-color: black; color: black; + z-index: 1; cursor: pointer; } @@ -67,6 +68,7 @@ color: white; text-transform: lowercase; position: absolute; + z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); diff --git a/src/components/post/expando/expando.tsx b/src/components/post/expando/expando.tsx index 54728243..ea647449 100644 --- a/src/components/post/expando/expando.tsx +++ b/src/components/post/expando/expando.tsx @@ -47,7 +47,8 @@ const Expando = ({ commentMediaInfo, content, expanded, link, reason, removed, s spoiler && !showSpoiler && setShowSpoiler(true); }} > - {link && !removed && !(spoiler && !showSpoiler) && ( +
+ {link && !removed && (