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
className={css.EmoticonImg}
src={getEmojiUrl(element.key)}
alt={element.key}
title={element.shortcode}
alt={element.shortcode}
/> : element.key
)}
{children}

View file

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

View file

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