Compare commits
No commits in common. "9c1adfdc03dd3e96ede3f30d37cda899e9c77b35" and "d9091b99d691ea81852ba4323b4f1b06b35ad896" have entirely different histories.
9c1adfdc03
...
d9091b99d6
5 changed files with 0 additions and 23 deletions
|
|
@ -3,7 +3,6 @@ import UserAvatar from '../user_avatar/user_avatar.vue'
|
|||
import UserListPopover from '../user_list_popover/user_list_popover.vue'
|
||||
|
||||
import { useInstanceStore } from 'src/stores/instance.js'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { faCheck, faMinus, faPlus } from '@fortawesome/free-solid-svg-icons'
|
||||
|
|
@ -49,9 +48,6 @@ const EmojiReactions = {
|
|||
statusId: this.status.id,
|
||||
})
|
||||
},
|
||||
allowNonSquareEmoji() {
|
||||
return useMergedConfigStore().mergedConfig.nonSquareEmoji
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
toggleShowAll() {
|
||||
|
|
|
|||
|
|
@ -49,12 +49,6 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
&.-wide {
|
||||
width: auto;
|
||||
min-width: var(--emoji-size);
|
||||
max-width: calc(var(--emoji-size) * 3);
|
||||
}
|
||||
|
||||
--_still_image-label-scale: 0.3;
|
||||
}
|
||||
|
||||
|
|
@ -68,12 +62,6 @@
|
|||
font-size: calc(var(--emoji-size) * 0.8);
|
||||
margin: 0;
|
||||
|
||||
&.-wide {
|
||||
width: auto;
|
||||
min-width: var(--emoji-size);
|
||||
max-width: calc(var(--emoji-size) * 3);
|
||||
}
|
||||
|
||||
img {
|
||||
object-fit: contain;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,13 +17,11 @@
|
|||
>
|
||||
<span
|
||||
class="reaction-emoji"
|
||||
:class="{ ['-wide']: allowNonSquareEmoji }"
|
||||
>
|
||||
<StillImage
|
||||
v-if="reaction.url"
|
||||
:src="reaction.url"
|
||||
class="reaction-emoji-content"
|
||||
:class="{ ['-wide']: allowNonSquareEmoji }"
|
||||
/>
|
||||
<span
|
||||
v-else
|
||||
|
|
|
|||
|
|
@ -137,7 +137,6 @@
|
|||
:src="notification.emoji_url"
|
||||
:alt="notification.emoji"
|
||||
:title="notification.emoji"
|
||||
:class="{ ['-wide']: allowNonSquareEmoji }"
|
||||
>
|
||||
<span
|
||||
v-else
|
||||
|
|
|
|||
|
|
@ -119,10 +119,6 @@
|
|||
max-width: 1.25em;
|
||||
height: 1.25em;
|
||||
width: auto;
|
||||
|
||||
&.-wide {
|
||||
max-width: 3.75em;
|
||||
}
|
||||
}
|
||||
|
||||
.emoji-reaction-emoji-image {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue