add: overflow tag hidden

This commit is contained in:
monoid 2023-06-01 21:48:10 +09:00
parent 5670a12910
commit d961e8166d
2 changed files with 536 additions and 596 deletions

File diff suppressed because it is too large Load Diff

View File

@ -90,7 +90,8 @@ export const ContentInfo = (props: {
<Paper
sx={{
display: "flex",
height: "400px",
height: props.short ? "400px" : "auto",
overflow: "hidden",
[theme.breakpoints.down("sm")]: {
flexDirection: "column",
alignItems: "center",
@ -128,8 +129,7 @@ export const ContentInfo = (props: {
path={document.basepath + "/" + document.filename}
createdAt={document.created_at}
deletedAt={document.deleted_at != null ? document.deleted_at : undefined}
>
</ComicDetailTag>
/>
)}
</Box>
{document.deleted_at != null
@ -138,9 +138,7 @@ export const ContentInfo = (props: {
onClick={() => {
documentDelete(document.id);
}}
>
Delete
</Button>
>Delete</Button>
)}
</Box>
</Paper>