Add word break style to Article component for better text handling

This commit is contained in:
2025-07-11 09:53:53 +08:00
parent abf25b09cf
commit 19d37012d2

View File

@@ -556,6 +556,7 @@ function Article({ resource }: { resource: ResourceDetails }) {
maxWidth: "100%", maxWidth: "100%",
textOverflow: "ellipsis", textOverflow: "ellipsis",
lineBreak: "anywhere", lineBreak: "anywhere",
wordBreak: "break-all",
fontSize: "1.2rem", fontSize: "1.2rem",
fontWeight: "bold", fontWeight: "bold",
lineHeight: "1.5rem", lineHeight: "1.5rem",