This commit is contained in:
tamaina 2020-02-15 21:31:56 +09:00
parent 65704bbf01
commit f799375635
1 changed files with 1 additions and 7 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="wrmlmaau" ref="i"> <div class="wrmlmaau">
<div class="body"> <div class="body">
<span v-if="note.isHidden" style="opacity: 0.5">({{ $t('private') }})</span> <span v-if="note.isHidden" style="opacity: 0.5">({{ $t('private') }})</span>
<span v-if="note.deletedAt" style="opacity: 0.5">({{ $t('deleted') }})</span> <span v-if="note.deletedAt" style="opacity: 0.5">({{ $t('deleted') }})</span>
@ -39,14 +39,8 @@ export default Vue.extend({
}, },
data() { data() {
return { return {
i: this.$refs.i,
faReply faReply
}; };
},
mounted() {
// for Safari bug
this.width = this.$refs.i.getBoundingClientRect().width;
} }
}); });
</script> </script>