Skip to content

Commit c785387

Browse files
authored
Fix breaking of links in blog (#210)
* Break word instead of all * Break links in readme content
1 parent 3279aa2 commit c785387

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

components/Base/Text.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ withDefaults(defineProps<BaseTextProps>(), {
6767
:deep(a) {
6868
text-decoration: none;
6969
color: var(--primary);
70-
word-break: break-all; /* Break long URLs */
70+
word-break: break-word;
7171
overflow-wrap: break-word;
7272
7373
&:hover {

layers/marketplace/pages/extensions/[...extension].vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,11 @@ definePageMeta({
347347
overflow-wrap: break-word;
348348
}
349349
350+
.readme-content :deep(a) {
351+
word-break: break-all; /* Break long URLs */
352+
overflow-wrap: anywhere;
353+
}
354+
350355
.desktop-only {
351356
display: none;
352357

0 commit comments

Comments
 (0)