This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
res/css/views/right_panel Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ limitations under the License.
50
50
51
51
& [data-layout = irc ],
52
52
& [data-layout = group ] {
53
+ --TimelineCard_ReadReceiptGroup-inset-block-start : -6px ;
54
+
53
55
& .mx_EventTile_info .mx_EventTile_line ,
54
56
.mx_EventTile_line {
55
57
padding : var (--BaseCard_EventTile_line-padding-block ) var (--BaseCard_EventTile-spacing-inline );
@@ -97,6 +99,10 @@ limitations under the License.
97
99
margin-inline-end : $spacing-8 ; // See: var(--ThreadView_group_spacing-end) for ReactionsRow on _EventTile.scss
98
100
}
99
101
102
+ .mx_ReadReceiptGroup {
103
+ top : var (--TimelineCard_ReadReceiptGroup-inset-block-start );
104
+ }
105
+
100
106
.mx_ThreadSummary {
101
107
margin-inline-end : 0 ;
102
108
max-width : min (calc (100% - 36px ), 600px );
@@ -110,6 +116,15 @@ limitations under the License.
110
116
}
111
117
}
112
118
119
+ & [data-layout = group ] {
120
+ // Read receipt group on compact modern layout
121
+ // This is required because mx_TimelineCard is a child element wrapped by mx_MatrixChat_useCompactLayout,
122
+ // which specifies the default position of mx_ReadReceiptGroup on compact modern layout.
123
+ .mx_MatrixChat_useCompactLayout & .mx_ReadReceiptGroup {
124
+ top : var (--TimelineCard_ReadReceiptGroup-inset-block-start );
125
+ }
126
+ }
127
+
113
128
& [data-layout = bubble ] {
114
129
& ::before {
115
130
z-index : auto ; // enable background color on hover
@@ -141,10 +156,6 @@ limitations under the License.
141
156
}
142
157
}
143
158
144
- .mx_ReadReceiptGroup {
145
- top : -6px ;
146
- }
147
-
148
159
.mx_WhoIsTypingTile {
149
160
margin-left : -12px ; // undo padding on the message list
150
161
}
You can’t perform that action at this time.
0 commit comments