Improve timeline scroll, media layout, avatars, and emoji coverage.

Remember room scroll position across switches, reserve image/video heights from Matrix dimensions, cache authenticated media blobs for avatars, restore jumbo emoji-only messages, and extend emoji font unicode-range for Unicode 15 glyphs.
This commit is contained in:
2026-07-22 20:00:14 +10:00
parent 154f4dfdb0
commit c286501be8
17 changed files with 885 additions and 213 deletions

View File

@@ -262,9 +262,10 @@ export const EmoticonBase = style([
DefaultReset,
{
display: 'inline-block',
padding: '0.05rem',
height: '1em',
verticalAlign: 'middle',
verticalAlign: '-0.1em',
lineHeight: 1,
height: 'auto',
padding: 0,
},
]);
@@ -272,18 +273,10 @@ export const Emoticon = recipe({
base: [
DefaultReset,
{
display: 'inline-flex',
justifyContent: 'center',
alignItems: 'center',
height: '1em',
minWidth: '1em',
fontSize: '1.33em',
lineHeight: '1em',
verticalAlign: 'middle',
position: 'relative',
top: '-0.35em',
borderRadius: config.radii.R300,
display: 'inline',
fontSize: '1.2em',
lineHeight: 1,
verticalAlign: 'inherit',
},
],
variants: {
@@ -298,7 +291,9 @@ export const Emoticon = recipe({
export const EmoticonImg = style([
DefaultReset,
{
height: '1em',
display: 'block',
height: '1.2em',
width: '1.2em',
cursor: 'default',
},
]);