mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 03:53:08 +02:00
refactor(client): Use unique class name
This commit is contained in:
parent
9784ade84f
commit
c102978dd5
2 changed files with 4 additions and 4 deletions
|
@ -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%;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue