mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 04:17:23 +00:00
Add word break style to Article component for better text handling
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user