1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-05 05:40:54 +00:00
* Changed: Better formatting for link embeds with no image.
* Fixed: Date formatting issue in the emote menu. (What do you mean your sub didn't expire 51 years ago?)
This commit is contained in:
SirStendec 2020-08-06 01:32:55 -04:00
parent bd0c658acb
commit e73534dd75
3 changed files with 38 additions and 12 deletions

View file

@ -531,8 +531,22 @@ function header_vue(token, h, ctx) {
right ? null : content
])
}
}
}
} else if ( ! token.compact )
content = h('div', {
class: 'tw-flex ffz--rich-header'
}, [
h('div', {class: 'ffz--header-image tw-mg-x-05'}),
content
]);
} else if ( ! token.compact )
content = h('div', {
class: 'tw-flex ffz--rich-header'
}, [
h('div', {class: 'ffz--header-image tw-mg-x-05'}),
content
]);
return content;
}
@ -603,8 +617,21 @@ function header_normal(token, createElement, ctx) {
className: 'tw-flex ffz--rich-header'
}, [right ? content : null, image, right ? null : content])
}
}
}
} else if ( ! token.compact )
content = createElement('div', {
className: 'tw-flex ffz--rich-header'
}, [
createElement('div', {className: 'ffz--header-image tw-mg-x-05'}),
content
]);
} else if ( ! token.compact )
content = createElement('div', {
className: 'tw-flex ffz--rich-header'
}, [
createElement('div', {className: 'ffz--header-image tw-mg-x-05'}),
content
]);
return content;