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