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