Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 93e74a8

Browse files
authored
Fix vscode-link word break issue (#389)
Fixes #388 by removing white-space: nowrap and adding word-break: break-word rule to allow links using long continuous strings to break into new lines.
1 parent 4b53d38 commit 93e74a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/link/link.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const linkStyles = (
4747
padding: 0;
4848
outline: none;
4949
text-decoration: none;
50-
white-space: nowrap;
50+
word-break: break-word;
5151
}
5252
.control::-moz-focus-inner {
5353
border: 0;

0 commit comments

Comments
 (0)