This commit is contained in:
syuilo 2018-04-22 19:33:06 +09:00
parent a7cbdbc1f2
commit 8682fd21c4

View File

@ -2,8 +2,8 @@
<iframe v-if="youtubeId" type="text/html" height="250"
:src="`https://www.youtube.com/embed/${youtubeId}?origin=${misskeyUrl}`"
frameborder="0"/>
<div v-else>
<a class="mk-url-preview" :href="url" target="_blank" :title="url" v-if="!fetching">
<div v-else class="mk-url-preview">
<a :href="url" target="_blank" :title="url" v-if="!fetching">
<div class="thumbnail" v-if="thumbnail" :style="`background-image: url(${thumbnail})`"></div>
<article>
<header>
@ -66,6 +66,7 @@ iframe
width 100%
root(isDark)
> a
display block
font-size 16px
border solid 1px isDark ? #191b1f : #eee