Skip to content

Commit

Permalink
Show long Url properly in mobile view.
Browse files Browse the repository at this point in the history
very long Url in mobile app showing in small text which is not readable.
Resolved by breaking overflow text in url to multiple lines which will
make link readable to user.

close: #7972

Co-authored-by: ivk <[email protected]>
  • Loading branch information
2 people authored and hrb-hub committed Dec 16, 2024
1 parent 356942d commit 2125c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/gui/main-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ styles.registerStyle("main", () => {
"word-break": "break-all",
},
".break-word-links a": {
"word-wrap": "break-word",
"overflow-wrap": "anywhere",
},
".text-prewrap": {
"white-space": "pre-wrap",
Expand Down

0 comments on commit 2125c57

Please sign in to comment.