diff --git a/src/views/emojiPacks/components/SingleEmojiEditor.vue b/src/views/emojiPacks/components/SingleEmojiEditor.vue index 998a3d793a3d547408523ed17c88d38a0648b266..a1d2383ad79520309c5ee097b6d963a00fd39fd5 100644 --- a/src/views/emojiPacks/components/SingleEmojiEditor.vue +++ b/src/views/emojiPacks/components/SingleEmojiEditor.vue @@ -34,6 +34,7 @@ <el-button :disabled="!copyToLocalPackName" type="primary" + class="copy-to-local-pack-button" @click="copyToLocal">{{ $t('emoji.copy') }}</el-button> <el-button slot="reference" type="primary" class="emoji-button">{{ $t('emoji.copyToLocalPack') }}</el-button> </el-popover> @@ -102,7 +103,7 @@ export default { return this.$store.state.emojiPacks.localPacks }, remoteInstance() { - return this.$store.state.emojiPacks.remoteInstance + return new URL(this.$store.state.emojiPacks.remoteInstance).host } }, methods: { @@ -167,6 +168,10 @@ export default { .copy-popover { width: 330px } +.copy-to-local-pack-button { + margin-top: 15px; + float: right; +} .emoji-buttons { place-self: center; min-width: 200px