Skip to content

Commit b75402e

Browse files
author
Weblate
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 8b1650c + a98c734 commit b75402e

2 files changed

Lines changed: 31 additions & 6 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/elements/_MemberEventListSummary.scss‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,22 @@ limitations under the License.
5050
}
5151

5252
.mx_MatrixChat_useCompactLayout {
53+
.mx_MemberEventListSummary {
54+
font-size: 13px;
55+
.mx_EventTile_line {
56+
line-height: 20px;
57+
}
58+
}
59+
5360
.mx_MemberEventListSummary_line {
5461
line-height: 22px;
5562
}
5663

5764
.mx_MemberEventListSummary_toggle {
58-
margin-top: 2px;
65+
margin-top: 3px;
66+
}
67+
68+
.mx_TextualEvent.mx_MemberEventListSummary_summary {
69+
font-size: 13px;
5970
}
6071
}

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss‎

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -403,14 +403,23 @@ limitations under the License.
403403
}
404404

405405
.mx_EventTile.mx_EventTile_info {
406+
// same as the padding for non-compact .mx_EventTile.mx_EventTile_info
406407
padding-top: 0px;
408+
font-size: 13px;
409+
.mx_EventTile_line {
410+
line-height: 20px;
411+
}
412+
.mx_EventTile_avatar {
413+
top: 4px;
414+
}
407415
}
408416

409417
.mx_EventTile .mx_SenderProfile {
410418
font-size: 13px;
411419
}
412420

413421
.mx_EventTile.mx_EventTile_emote {
422+
// add a bit more space for emotes so that avatars don't collide
414423
padding-top: 8px;
415424
.mx_EventTile_avatar {
416425
top: 2px;
@@ -438,10 +447,6 @@ limitations under the License.
438447
top: 2px;
439448
}
440449

441-
.mx_EventTile.mx_EventTile_info .mx_EventTile_avatar {
442-
top: 5px;
443-
}
444-
445450
.mx_EventTile_e2eIcon {
446451
top: 7px;
447452
}
@@ -455,12 +460,21 @@ limitations under the License.
455460
}
456461

457462
.mx_EventTile_continuation .mx_EventTile_readAvatars,
458-
.mx_EventTile_info .mx_EventTile_readAvatars,
459463
.mx_EventTile_emote .mx_EventTile_readAvatars {
460464
top: 5px;
461465
}
462466

467+
.mx_EventTile_info .mx_EventTile_readAvatars {
468+
top: 4px;
469+
}
470+
463471
.mx_RoomView_MessageList h2 {
464472
margin-top: 6px;
465473
}
474+
475+
.mx_EventTile_content .markdown-body {
476+
p, ul, ol, dl, blockquote, pre, table {
477+
margin-bottom: 4px; // 1/4 of the non-compact margin-bottom
478+
}
479+
}
466480
}

0 commit comments

Comments
 (0)