forked from AkkomaGang/akkoma-fe
fix empty spaces again
This commit is contained in:
parent
9ea370033a
commit
73127f0e25
2 changed files with 5 additions and 4 deletions
|
@ -3,7 +3,6 @@
|
|||
white-space: normal;
|
||||
display: inline-block;
|
||||
color: var(--link);
|
||||
margin-right: 0.25em;
|
||||
|
||||
& .new,
|
||||
& .original {
|
||||
|
@ -12,7 +11,7 @@
|
|||
}
|
||||
|
||||
.original {
|
||||
opacity: 0.5;
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
||||
.full {
|
||||
|
@ -39,6 +38,8 @@
|
|||
}
|
||||
|
||||
.new {
|
||||
margin-right: 0.25em;
|
||||
|
||||
&.-you {
|
||||
& .shortName,
|
||||
& .full {
|
||||
|
|
|
@ -46,8 +46,8 @@ export default Vue.component('RichContent', {
|
|||
const processItem = (item) => {
|
||||
// Handle text noes - just add emoji
|
||||
if (typeof item === 'string') {
|
||||
const emptyText = item.trim()
|
||||
if (!emptyText) {
|
||||
const emptyText = item.trim() === ''
|
||||
if (emptyText) {
|
||||
return encounteredText ? item : item.trim()
|
||||
}
|
||||
let unescapedItem = unescape(item)
|
||||
|
|
Loading…
Reference in a new issue