Fix cardOverlay

This commit is contained in:
prayag17 committed 2023-04-29 21:54:52 +05:30
1 parent 0e0833876b
commit a04e263ad5
4 files changed
+15 -6

No files matched your search

+4 -2
View File
@@ -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();
}} }}
> >
+4 -2
View File
@@ -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();
}} }}
> >
+5
View File
@@ -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
+2 -2
View File
@@ -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,