summaryrefslogtreecommitdiff
path: root/src/web/app/desktop/views/components/following-window.vue
blob: c516b3b17ba49dc1ba7574edc838659a53fc1bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<template>
<mk-window width="400px" height="550px" @closed="$destroy">
	<span slot="header" :class="$style.header">
		<img :src="`${user.avatar_url}?thumbnail&size=64`" alt=""/>{{ user.name }}のフォロー
	</span>
	<mk-following :user="user"/>
</mk-window>
</template>

<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
	props: ['user']
});
</script>

<style lang="stylus" module>
.header
	> img
		display inline-block
		vertical-align bottom
		height calc(100% - 10px)
		margin 5px
		border-radius 4px

</style>