Skip to content

Commit a830f7b

Browse files
authored
Replace wikit link component with plain link (#767)
Removes the WikitLink component and replaces it with a plain html link. This link gets codex styling via the default stylesheet Bug: T370053
1 parent 924e774 commit a830f7b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/components/SpellingVariantInput.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { ref, computed } from 'vue';
33
import escapeRegExp from 'lodash/escapeRegExp';
44
import WikitLookup from './WikitLookup';
5-
import { Link as WikitLink } from '@wmde/wikit-vue-components';
65
import RequiredAsterisk from '@/components/RequiredAsterisk.vue';
76
import { useMessages } from '@/plugins/MessagesPlugin/Messages';
87
import { useLanguageCodesProvider } from '@/plugins/LanguageCodesProviderPlugin/LanguageCodesProvider';
@@ -121,7 +120,7 @@ export default {
121120
<template #suffix>
122121
<required-asterisk />
123122
<span class="wbl-snl-spelling-variant-lookup__help-link">
124-
<wikit-link :href="helpUrl" target="_blank">{{ helpLinkText }}</wikit-link>
123+
<a :href="helpUrl" target="_blank">{{ helpLinkText }}</a>
125124
</span>
126125
</template>
127126
</wikit-lookup>
@@ -136,10 +135,5 @@ export default {
136135
gap: $dimension-spacing-xsmall;
137136
}
138137
/* stylelint-enable plugin/stylelint-bem-namics, selector-class-pattern */
139-
140-
&__help-link {
141-
padding-bottom: $wikit-Label-padding-block-end;
142-
display: inline-block;
143-
}
144138
}
145139
</style>

0 commit comments

Comments
 (0)