add: overflow tag hidden
This commit is contained in:
parent
5670a12910
commit
d961e8166d
1122
pnpm-lock.yaml
1122
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user