fix genre view in library page

This commit is contained in:
Prayag Prajapati committed 2023-11-28 18:16:37 +05:30
1 parent 81d188ac5a
commit d6d81f2b4d
4 files changed
+21 -28

No files matched your search

+4 -4
View File
@@ -101,7 +101,7 @@ export const Card = ({
aspectRatio: cardImageAspectRatios[cardType],
}}
>
{!!item.UserData && (
{/* {!!item.UserData && (
<>
<div
className="card-indicator check"
@@ -133,8 +133,8 @@ export const Card = ({
</Typography>
</div>
</>
)}
{!!imageBlurhash && (
)} */}
{/* {!!imageBlurhash && (
<Blurhash
hash={imageBlurhash}
width={128}
@@ -143,7 +143,7 @@ export const Card = ({
resolutionY={24}
className="card-image-blurhash"
/>
)}
)} */}
<div className="card-image-icon-container">
{overrideIcon
? getTypeIcon(overrideIcon)
+8 -1
View File
@@ -23,6 +23,7 @@
z-index: 1;
top: 0;
left: 0;
transition: filter $transition-time-default;
&-container {
position: relative;
width: 100%;
@@ -43,6 +44,7 @@
z-index: 0;
top: 0;
left: 0;
transition: filter $transition-time-default;
.material-symbols-rounded {
position: absolute;
top: 50%;
@@ -70,7 +72,6 @@
height: 100%;
left: 0;
top: 0;
background: rgb(0 0 0 / 0.6);
z-index: 10;
opacity: 0;
transition: opacity $transition-time-default;
@@ -83,6 +84,12 @@
&:hover,
&:focus,
&:focus-within {
.card-image {
filter: brightness(0.6);
}
.card-image-icon-container {
filter: brightness(0.6);
}
.card-overlay {
opacity: 1;
}