Compare commits

..

2 commits

Author SHA1 Message Date
cbd4b2ae33
chore: add mx-uc.css 2024-01-18 08:03:28 +09:00
a396a8dca0
misc: update config.json and title for supnas 2024-01-18 08:03:28 +09:00
3 changed files with 2 additions and 5 deletions

View file

@ -98,8 +98,7 @@ function RenderEmoticonElement({
isUsingTwemoji() ? <img isUsingTwemoji() ? <img
className={css.EmoticonImg} className={css.EmoticonImg}
src={getEmojiUrl(element.key)} src={getEmojiUrl(element.key)}
alt={element.key} alt={element.shortcode}
title={element.shortcode}
/> : element.key /> : element.key
)} )}
{children} {children}

View file

@ -283,8 +283,7 @@ const NativeEmoji = (emoji: IEmoji) =>
loading="lazy" loading="lazy"
className={css.EmoticonImg} className={css.EmoticonImg}
src={getEmojiUrl(emoji.unicode)} src={getEmojiUrl(emoji.unicode)}
alt={emoji.unicode} alt={emoji.shortcode}
title={emoji.shortcode}
/> : emoji.unicode; /> : emoji.unicode;
export function EmojiItem({ export function EmojiItem({

View file

@ -46,7 +46,6 @@ const textToEmojifyJSX = (text: string): (string | JSX.Element)[] =>
return <span key={pushIndex} className={css.EmoticonBase}>{ return <span key={pushIndex} className={css.EmoticonBase}>{
isUsingTwemoji() ? <img isUsingTwemoji() ? <img
className={className} className={className}
alt={char}
title={title} title={title}
src={getEmojiUrl(char)} src={getEmojiUrl(char)}
/> : <span /> : <span