Fix cardOverlay
This commit is contained in:
4 files changed
+15
-6
No files matched your search
@@ -290,8 +290,9 @@ export const Card = ({
|
||||
iconType,
|
||||
) && (
|
||||
<IconButton
|
||||
onClick={(e) => {
|
||||
onMouseDown={(e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
handleMarkAsPlayOrUnMarkAsPlay();
|
||||
}}
|
||||
>
|
||||
@@ -306,8 +307,9 @@ export const Card = ({
|
||||
)}
|
||||
{allowedLikeButton.includes(iconType) && (
|
||||
<IconButton
|
||||
onClick={(e) => {
|
||||
onMouseDown={(e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
handleLiking();
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -203,8 +203,9 @@ export const EpisodeCard = ({
|
||||
>
|
||||
<ButtonGroup>
|
||||
<IconButton
|
||||
onClick={(e) => {
|
||||
onMouseDown={(e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
handleMarkAsPlayOrUnMarkAsPlay();
|
||||
}}
|
||||
>
|
||||
@@ -217,8 +218,9 @@ export const EpisodeCard = ({
|
||||
/>
|
||||
</IconButton>
|
||||
<IconButton
|
||||
onClick={(e) => {
|
||||
onMouseDown={(e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
handleLiking();
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -2195,6 +2195,11 @@ const ItemDetail = () => {
|
||||
direction="row"
|
||||
justifyContent="space-between"
|
||||
mb={1}
|
||||
sx={{
|
||||
paddingBottom: 1,
|
||||
borderBottom: 1,
|
||||
borderColor: "divider",
|
||||
}}
|
||||
>
|
||||
<Typography variant="h5">
|
||||
Episodes
|
||||
|
||||
@@ -23,13 +23,13 @@
|
||||
&-backdrop {
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
height: 135%;
|
||||
height: 80vh;
|
||||
top: -88px;
|
||||
width: 100vw;
|
||||
right: 0;
|
||||
left: -24px;
|
||||
z-index: -2;
|
||||
filter: brightness(0.7);
|
||||
filter: brightness(0.6);
|
||||
mask-image: linear-gradient(0deg, transparent, black 75%);
|
||||
-webkit-mask-image: linear-gradient(
|
||||
0deg,
|
||||
|
||||
Reference in new issue
Block a user