Fix Size of SearchCard

This commit is contained in:
2025-06-17 01:47:08 +02:00
parent b7ee80b4a4
commit e5641e0690

View File

@ -57,7 +57,7 @@ export default function MangaList({connected, setShowSearch}: {connected: boolea
<Badge invisible sx={{margin: "8px !important"}}> <Badge invisible sx={{margin: "8px !important"}}>
<Card onClick={() => setShowSearch(true)} sx={{height:"fit-content",width:"fit-content"}}> <Card onClick={() => setShowSearch(true)} sx={{height:"fit-content",width:"fit-content"}}>
<CardCover sx={{margin:"var(--Card-padding)"}}> <CardCover sx={{margin:"var(--Card-padding)"}}>
<img src={"/blahaj.png"} style={{height: CardHeight + "px", width: CardWidth + 10 + "px"}} /> <img src={"/blahaj.png"} style={{height: CardHeight + "px", width: CardWidth + "px"}} />
</CardCover> </CardCover>
<CardCover sx={{ <CardCover sx={{
background: 'rgba(234, 119, 246, 0.14)', background: 'rgba(234, 119, 246, 0.14)',
@ -65,7 +65,7 @@ export default function MangaList({connected, setShowSearch}: {connected: boolea
webkitBackdropFilter: 'blur(6.9px)', webkitBackdropFilter: 'blur(6.9px)',
}}/> }}/>
<CardContent> <CardContent>
<Box style={{height: CardHeight + "px", width: CardWidth + 10 + "px"}} > <Box style={{height: CardHeight + "px", width: CardWidth + "px"}} >
<Typography level={"h1"}>Search</Typography> <Typography level={"h1"}>Search</Typography>
</Box> </Box>
</CardContent> </CardContent>