Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zk-phi committed Dec 20, 2024
1 parent bbf7f17 commit 9e0f749
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/components/emoji/Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineComponent({
<img
v-for="(col, j) in row"
:key="j"
:class="`img large ${ rounded ? 'rounded' : ''}`"
:class="`img large ${ rounded ? 'mi2' : ''}`"
:src="col">
</div>
<div>
Expand All @@ -35,7 +35,7 @@ export default defineComponent({
<img
v-for="(col, j) in row"
:key="j"
:class="`img in_text ${ rounded ? 'rounded' : ''}`"
:class="`img in_text ${ rounded ? 'mi2' : ''}`"
:src="col">
</span>
感じ。
Expand Down Expand Up @@ -81,7 +81,7 @@ export default defineComponent({
background-size: contain;
}
.img.rounded {
.img.mi2 {
border-radius: 30%;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/emoji/RawResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default defineComponent({
<img
v-for="(col, j) in row"
:key="j"
:class="`result-cell ${ rounded ? 'rounded' : ''}`"
:class="`result-cell ${ rounded ? 'mi2' : ''}`"
:src="col">
</div>
</template>
Expand All @@ -28,7 +28,7 @@ export default defineComponent({
border: 1px solid #aaa;
}
.result-cell.rounded {
.result-cell.mi2 {
border-radius: 30%;
}
</style>
4 changes: 2 additions & 2 deletions src/components/emoji/Reaction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineComponent({

<template>
<div class="reaction">
<img :class="`reaction_icon ${ rounded ? 'rounded' : ''}`" :src="src"> 5
<img :class="`reaction_icon ${ rounded ? 'mi2' : ''}`" :src="src"> 5
</div>
</template>

Expand Down Expand Up @@ -42,7 +42,7 @@ export default defineComponent({
background-size: contain;
}
.reaction_icon.rounded {
.reaction_icon.mi2 {
border-radius: 30%;
}
</style>

0 comments on commit 9e0f749

Please sign in to comment.