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