Skip to content

Commit 1fdbe24

Browse files
committed
Bubble layout: A little bit more read receipt spacing
1 parent ab11bdc commit 1fdbe24

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

res/css/views/rooms/_BubbleLayout.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,14 @@ $left-gutter: 5.4rem;
199199

200200
.mx_ReadReceiptGroup {
201201
position: unset;
202-
}
203202

204-
.mx_ReadReceiptGroup .mx_ReadReceiptGroup_button {
205-
flex-direction: row-reverse;
203+
.mx_ReadReceiptGroup_button {
204+
flex-direction: row-reverse;
205+
}
206+
207+
.mx_ReadReceiptGroup_remainder {
208+
margin-left: 2px;
209+
}
206210
}
207211

208212
.mx_EventTile_content {

src/components/views/rooms/ReadReceiptGroup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export function ReadReceiptGroup(
107107
: MAX_READ_AVATARS;
108108

109109
// SC: Don't use offset for bubble layout
110-
const READ_AVATAR_OFFSET = layout == Layout.Bubble ? READ_AVATAR_SIZE-1 : 10;
110+
const READ_AVATAR_OFFSET = layout == Layout.Bubble ? READ_AVATAR_SIZE : 10;
111111

112112
const tooltipMembers: string[] = readReceipts.slice(0, maxAvatars)
113113
.map(it => it.roomMember?.name ?? it.userId);

0 commit comments

Comments
 (0)