diff --git a/src/client/components/note.vue b/src/client/components/note.vue index ec31a5f99a..dda4dfc020 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -48,7 +48,7 @@ <div class="files" v-if="appearNote.files.length > 0"> <x-media-list :media-list="appearNote.files" :parent-element="noteBody"/> </div> - <x-poll v-if="appearNote.poll" :note="appearNote" ref="pollViewer"/> + <x-poll v-if="appearNote.poll" :note="appearNote" ref="pollViewer" class="poll"/> <mk-url-preview v-for="url in urls" :url="url" :key="url" :compact="true" class="url-preview"/> <div class="renote" v-if="appearNote.renote"><x-note-preview :note="appearNote.renote"/></div> </div> @@ -920,7 +920,7 @@ export default Vue.extend({ margin-top: 8px; } - > .mk-poll { + > .poll { font-size: 80%; } diff --git a/src/client/components/poll.vue b/src/client/components/poll.vue index 30407f8b73..cd87c1cd2a 100644 --- a/src/client/components/poll.vue +++ b/src/client/components/poll.vue @@ -1,5 +1,5 @@ <template> -<div class="mk-poll" :data-done="closed || isVoted"> +<div class="tivcixzd" :data-done="closed || isVoted"> <ul> <li v-for="(choice, i) in poll.choices" :key="i" @click="vote(i)" :class="{ voted: choice.voted }"> <div class="backdrop" :style="{ 'width': `${showResult ? (choice.votes / total * 100) : 0}%` }"></div> @@ -99,7 +99,7 @@ export default Vue.extend({ </script> <style lang="scss" scoped> -.mk-poll { +.tivcixzd { > ul { display: block; margin: 0;