mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 12:25:54 +02:00
This commit is contained in:
@@ -233,6 +233,16 @@
|
||||
font-size 1.5em
|
||||
color #717171
|
||||
|
||||
.link
|
||||
&:after
|
||||
content "\f14c"
|
||||
display inline-block
|
||||
padding-left 2px
|
||||
font-family FontAwesome
|
||||
font-size .9em
|
||||
font-weight 400
|
||||
font-style normal
|
||||
|
||||
> mk-url-preview
|
||||
margin-top 8px
|
||||
|
||||
@@ -367,10 +377,10 @@
|
||||
|
||||
// URLをプレビュー
|
||||
tokens
|
||||
.filter(t => t.type == 'link')
|
||||
.filter(t => (t.type == 'url' || t.type == 'link') && !t.silent)
|
||||
.map(t => {
|
||||
riot.mount(this.refs.text.appendChild(document.createElement('mk-url-preview')), {
|
||||
url: t.content
|
||||
url: t.url
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -229,6 +229,16 @@
|
||||
mk-url-preview
|
||||
margin-top 8px
|
||||
|
||||
.link
|
||||
&:after
|
||||
content "\f14c"
|
||||
display inline-block
|
||||
padding-left 2px
|
||||
font-family FontAwesome
|
||||
font-size .9em
|
||||
font-weight 400
|
||||
font-style normal
|
||||
|
||||
> .reply
|
||||
margin-right 8px
|
||||
color #717171
|
||||
@@ -344,10 +354,10 @@
|
||||
|
||||
// URLをプレビュー
|
||||
tokens
|
||||
.filter(t => t.type == 'link')
|
||||
.filter(t => (t.type == 'url' || t.type == 'link') && !t.silent)
|
||||
.map(t => {
|
||||
riot.mount(this.refs.text.appendChild(document.createElement('mk-url-preview')), {
|
||||
url: t.content
|
||||
url: t.url
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user