1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-02 08:48:37 +09:00
This commit is contained in:
syuilo 2018-02-22 06:17:02 +09:00
parent 8056497809
commit f5637205cb
2 changed files with 7 additions and 11 deletions

View File

@ -1,7 +1,5 @@
<template>
<div>
<a class="mk-images-image" :href="image.url" target="_blank" :style="style" :title="image.name"></a>
</div>
<a class="mk-images-image" :href="image.url" target="_blank" :style="style" :title="image.name"></a>
</template>
<script lang="ts">
@ -24,14 +22,10 @@ export default Vue.extend({
.mk-images-image
display block
overflow hidden
width 100%
height 100%
background-position center
background-size cover
border-radius 4px
> a
display block
overflow hidden
width 100%
height 100%
background-position center
background-size cover
</style>

View File

@ -4,8 +4,10 @@ import ui from './ui.vue';
import home from './home.vue';
import timeline from './timeline.vue';
import posts from './posts.vue';
import imagesImage from './images-image.vue';
Vue.component('mk-ui', ui);
Vue.component('mk-home', home);
Vue.component('mk-timeline', timeline);
Vue.component('mk-posts', posts);
Vue.component('mk-images-image', imagesImage);