diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-05-10 17:06:20 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-05-10 17:06:20 +0900 |
| commit | c102978dd546ad2fbd0cf6c3c541279d6d12d56e (patch) | |
| tree | 6fa2a37c2ead6f3f97b0ee098bdcf96a62fd3b60 /src/client | |
| parent | fix(client): Do not expand each notes in my/messages (diff) | |
| download | misskey-c102978dd546ad2fbd0cf6c3c541279d6d12d56e.tar.gz misskey-c102978dd546ad2fbd0cf6c3c541279d6d12d56e.tar.bz2 misskey-c102978dd546ad2fbd0cf6c3c541279d6d12d56e.zip | |
refactor(client): Use unique class name
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/components/note.vue | 4 | ||||
| -rw-r--r-- | src/client/components/poll.vue | 4 |
2 files changed, 4 insertions, 4 deletions
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; |