diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2021-02-28 13:14:26 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2021-02-28 13:14:26 +0900 |
| commit | b090ff99942f54ac5855f455bae1ba247598dc76 (patch) | |
| tree | 6e2e5bb103737e203870f5d6073931ba8602b537 /src/client/components/note.vue | |
| parent | Merge branch 'develop' (diff) | |
| parent | 12.72.0 (diff) | |
| download | misskey-b090ff99942f54ac5855f455bae1ba247598dc76.tar.gz misskey-b090ff99942f54ac5855f455bae1ba247598dc76.tar.bz2 misskey-b090ff99942f54ac5855f455bae1ba247598dc76.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/client/components/note.vue')
| -rw-r--r-- | src/client/components/note.vue | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/src/client/components/note.vue b/src/client/components/note.vue index 24c374869d..dab7643762 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -498,20 +498,14 @@ export default defineComponent({ react(viaKeyboard = false) { pleaseLogin(); this.blur(); - os.popup(import('@/components/emoji-picker.vue'), { - src: this.$refs.reactButton, - asReactionPicker: true - }, { - done: reaction => { - if (reaction) { - os.api('notes/reactions/create', { - noteId: this.appearNote.id, - reaction: reaction - }); - } - this.focus(); - }, - }, 'closed'); + os.pickReaction(this.$refs.reactButton, reaction => { + os.api('notes/reactions/create', { + noteId: this.appearNote.id, + reaction: reaction + }); + }, () => { + this.focus(); + }); }, reactDirectly(reaction) { @@ -867,7 +861,8 @@ export default defineComponent({ .tkcbzcuz { position: relative; transition: box-shadow 0.1s ease; - overflow: hidden; + overflow: hidden; // overflow: clip; をSafariが対応したら消す + overflow: clip; contain: content; // これらの指定はパフォーマンス向上には有効だが、ノートの高さは一定でないため、 @@ -954,7 +949,8 @@ export default defineComponent({ } > span { - overflow: hidden; + overflow: hidden; // overflow: clip; をSafariが対応したら消す + overflow: clip; flex-shrink: 1; text-overflow: ellipsis; white-space: nowrap; @@ -1026,7 +1022,8 @@ export default defineComponent({ &.collapsed { position: relative; max-height: 9em; - overflow: hidden; + overflow: hidden; // overflow: clip; をSafariが対応したら消す + overflow: clip; > .fade { display: block; |