diff --git a/res/css/views/elements/_Pill.pcss b/res/css/views/elements/_Pill.pcss index 6cced8b8b5..aa9c236f8b 100644 --- a/res/css/views/elements/_Pill.pcss +++ b/res/css/views/elements/_Pill.pcss @@ -59,12 +59,6 @@ limitations under the License. min-width: $font-16px; /* ensure the avatar is not compressed */ } - &.mx_EventPill .mx_BaseAvatar { - /* Event pill avatars are inside the text. */ - margin-inline-start: 0.2em; - margin-inline-end: 0.2em; - } - .mx_Pill_text { min-width: 0; overflow: hidden; diff --git a/src/components/views/elements/Pill.tsx b/src/components/views/elements/Pill.tsx index ab0c2b7e2f..67d0f6d6d6 100644 --- a/src/components/views/elements/Pill.tsx +++ b/src/components/views/elements/Pill.tsx @@ -45,6 +45,8 @@ export const pillRoomNotifLen = (): number => { return "@room".length; }; +const linkIcon = ; + const PillRoomAvatar: React.FC<{ shouldShowPillAvatar: boolean; room: Room | null; @@ -56,7 +58,7 @@ const PillRoomAvatar: React.FC<{ if (room) { return