This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ limitations under the License.
20
20
font-size : $font-12px ;
21
21
width : 100% ;
22
22
overflow-x : auto ; // Cancel overflow setting of .mx_EventTile_content
23
+ line-height : normal ; // Align with avatar and E2E icon
23
24
24
25
pre ,
25
26
code {
Original file line number Diff line number Diff line change @@ -258,8 +258,12 @@ limitations under the License.
258
258
}
259
259
260
260
& :not ([data-layout = bubble ]) {
261
+ .mx_MessageTimestamp {
262
+ top : 2px ; // Align with avatar
263
+ }
264
+
261
265
.mx_EventTile_avatar {
262
- top : 1.5 px ;
266
+ top : 0 ; // Align with hidden event content
263
267
left : calc ($MessageTimestamp_width + 14px - 4px ); // 14px: avatar width, 4px: align with text
264
268
z-index : 9 ; // position above the hover styling
265
269
}
Original file line number Diff line number Diff line change @@ -116,6 +116,10 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
116
116
117
117
.mx_EventTile_line {
118
118
padding : 3px 0 2px ; // Align with mx_EventTile_avatar and mx_EventTile_e2eIcon
119
+
120
+ .mx_MessageTimestamp {
121
+ top : 0 ;
122
+ }
119
123
}
120
124
}
121
125
@@ -278,7 +282,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
278
282
.mx_GenericEventListSummary :not ([data-layout = bubble ]) {
279
283
.mx_EventTile_line {
280
284
padding-left : $left-gutter ;
281
- line-height : normal ;
282
285
283
286
.mx_RedactedBody {
284
287
line-height : 1 ; // remove spacing between lines
You can’t perform that action at this time.
0 commit comments