mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-06 20:33:00 +02:00
MangaCard fix Margins
This commit is contained in:
parent
6aa53f7ca7
commit
8a07818b89
@ -101,7 +101,7 @@ export function Manga({manga, children, loading} : { manga: IManga | undefined,
|
|||||||
const interactiveElements = ["button", "input", "textarea", "a", "select", "option", "li"];
|
const interactiveElements = ["button", "input", "textarea", "a", "select", "option", "li"];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Badge badgeContent={useManga.mangaConnectorId} color={ReleaseStatusToPalette(useManga.releaseStatus)} size={"lg"}>
|
<Badge sx={{margin:"8px"}} badgeContent={useManga.mangaConnectorId} color={ReleaseStatusToPalette(useManga.releaseStatus)} size={"lg"}>
|
||||||
<Card sx={{height:"fit-content",width:"fit-content"}} onClick={(e) => {
|
<Card sx={{height:"fit-content",width:"fit-content"}} onClick={(e) => {
|
||||||
const target = e.target as HTMLElement;
|
const target = e.target as HTMLElement;
|
||||||
if(interactiveElements.find(x => x == target.localName) == undefined)
|
if(interactiveElements.find(x => x == target.localName) == undefined)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user