diff --git a/src/components/compose.jsx b/src/components/compose.jsx
index fc4174aa..cb064c15 100644
--- a/src/components/compose.jsx
+++ b/src/components/compose.jsx
@@ -1893,14 +1893,23 @@ function CustomEmojisModal({
}}
title={`:${emoji.shortcode}:`}
>
-
+
+ {!!emoji.staticUrl && (
+
+ )}
+
+
))}
diff --git a/src/components/emoji-text.jsx b/src/components/emoji-text.jsx
index d904f727..e32e73d0 100644
--- a/src/components/emoji-text.jsx
+++ b/src/components/emoji-text.jsx
@@ -18,8 +18,8 @@ function EmojiText({ text, emojis }) {
src={url}
alt={word}
class="shortcode-emoji emoji"
- width="12"
- height="12"
+ width="16"
+ height="16"
loading="lazy"
decoding="async"
/>
diff --git a/src/components/status.css b/src/components/status.css
index c62bf94b..fe7f0f82 100644
--- a/src/components/status.css
+++ b/src/components/status.css
@@ -283,8 +283,8 @@
.status > .container > .meta {
display: flex;
- gap: 8px;
- justify-content: space-between;
+ gap: 4px;
+ /* justify-content: space-between; */
white-space: nowrap;
}
.status.small > .container > .meta {
@@ -293,7 +293,11 @@
.status > .container > .meta > * {
min-width: 0;
overflow: hidden;
- text-overflow: ellipsis;
+ /* text-overflow: ellipsis; */
+}
+.status > .container > .meta .name-text {
+ mask-image: linear-gradient(to left, transparent, black 16px);
+ flex-grow: 1;
}
.status.large > .container > .meta {
min-height: 50px;
@@ -1473,10 +1477,13 @@ a.card:is(:hover, :focus):visited {
}
.shortcode-emoji {
- width: 1.2em;
+ width: auto;
+ min-width: 1.2em;
+ max-width: 100%;
height: 1.2em;
vertical-align: text-bottom;
- object-fit: scale-down;
+ object-fit: cover;
+ object-position: left;
}
/* EDIT HISTORY */
diff --git a/src/utils/emojify-text.js b/src/utils/emojify-text.js
index d2b4ab44..757920fb 100644
--- a/src/utils/emojify-text.js
+++ b/src/utils/emojify-text.js
@@ -8,7 +8,7 @@ function emojifyText(text, emojis = []) {
const { shortcode, staticUrl, url } = emoji;
text = text.replace(
new RegExp(`:${shortcode}:`, 'g'),
- `
`,
+ `
`,
);
});
// console.log(text, emojis);