fix: Scrolling in fragmented timeline

This commit is contained in:
Christian Kußowski 2025-12-06 10:19:57 +01:00
commit cacb944918
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
4 changed files with 45 additions and 43 deletions

View file

@ -544,22 +544,27 @@ class MatrixPill extends StatelessWidget {
return InkWell(
splashColor: Colors.transparent,
onTap: UrlLauncher(outerContext, uri).launchUrl,
child: Row(
mainAxisSize: .min,
children: [
Avatar(mxContent: avatar, name: name, size: 16),
const SizedBox(width: 6),
Text(
name,
style: TextStyle(
color: color,
decorationColor: color,
decoration: TextDecoration.underline,
fontSize: fontSize,
height: 1.25,
child: Text.rich(
TextSpan(
children: [
WidgetSpan(
child: Padding(
padding: const EdgeInsets.only(right: 4.0),
child: Avatar(mxContent: avatar, name: name, size: 16),
),
),
),
],
TextSpan(
text: name,
style: TextStyle(
color: color,
decorationColor: color,
decoration: TextDecoration.underline,
fontSize: fontSize,
height: 1.25,
),
),
],
),
),
);
}