fix: carousel not rendering

This commit is contained in:
Prayag Prajapati committed 2024-03-28 19:00:01 +05:30
1 parent 1668d2249f
commit dbd394619f
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -151,6 +151,7 @@ const CarouselSlide = ({ item }) => {
sx={{ sx={{
mb: "5px", mb: "5px",
}} }}
fontWeight={200}
overflow="visible" overflow="visible"
> >
{!item.ImageTags.Logo ? ( {!item.ImageTags.Logo ? (
@@ -328,6 +329,7 @@ const CarouselSlide = ({ item }) => {
alignItems="center" alignItems="center"
> >
<PlayButton <PlayButton
item={item}
itemId={item.Id} itemId={item.Id}
userId={user.data.Id} userId={user.data.Id}
itemType={item.Type} itemType={item.Type}
+2 -2
View File
@@ -77,8 +77,8 @@
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
margin-bottom: 0.5em; margin-bottom: 0.5em;
&-logo { &-logo {
max-width: 50vw; max-width: 34vw;
max-height: 3em; max-height: 2.4em;
object-fit: contain; object-fit: contain;
object-position: bottom; object-position: bottom;
} }