fix: carousel not rendering
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -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}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user