summaryrefslogtreecommitdiff
path: root/src/client/components
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-02-08 15:47:16 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-02-08 15:47:16 +0900
commit016144b96011097f88a9f1d76065db7baa8a1246 (patch)
treea458ddb6facea4b977b544fb3861539ae9beff9f /src/client/components
parentwip (diff)
downloadmisskey-016144b96011097f88a9f1d76065db7baa8a1246.tar.gz
misskey-016144b96011097f88a9f1d76065db7baa8a1246.tar.bz2
misskey-016144b96011097f88a9f1d76065db7baa8a1246.zip
wip
Diffstat (limited to 'src/client/components')
-rw-r--r--src/client/components/mfm.ts6
-rw-r--r--src/client/components/url.vue4
2 files changed, 3 insertions, 7 deletions
diff --git a/src/client/components/mfm.ts b/src/client/components/mfm.ts
index 9b17b18d45..f316427897 100644
--- a/src/client/components/mfm.ts
+++ b/src/client/components/mfm.ts
@@ -154,21 +154,17 @@ export default Vue.component('misskey-flavored-markdown', {
url: token.node.props.url,
rel: 'nofollow noopener',
},
- attrs: {
- style: 'color:var(--link);'
- }
})];
}
case 'link': {
return [createElement('a', {
attrs: {
- class: 'link',
+ class: 'link _link',
href: token.node.props.url,
rel: 'nofollow noopener',
target: '_blank',
title: token.node.props.url,
- style: 'color:var(--link);'
}
}, genEl(token.children))];
}
diff --git a/src/client/components/url.vue b/src/client/components/url.vue
index 082e744001..3b0d814405 100644
--- a/src/client/components/url.vue
+++ b/src/client/components/url.vue
@@ -1,5 +1,5 @@
<template>
-<component :is="hasRoute ? 'router-link' : 'a'" class="mk-url" :[attr]="hasRoute ? url.substr(local.length) : url" :rel="rel" :target="target">
+<component :is="hasRoute ? 'router-link' : 'a'" class="ieqqeuvs _link" :[attr]="hasRoute ? url.substr(local.length) : url" :rel="rel" :target="target">
<template v-if="!self">
<span class="schema">{{ schema }}//</span>
<span class="hostname">{{ hostname }}</span>
@@ -58,7 +58,7 @@ export default Vue.extend({
</script>
<style lang="scss" scoped>
-.mk-url {
+.ieqqeuvs {
word-break: break-all;
> .icon {