This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 5 files changed +23
-11
lines changed
5 files changed +23
-11
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,12 @@ limitations under the License.
55
55
text-decoration : underline ;
56
56
}
57
57
58
+ .mx_EventTile {
59
+ .mx_MessageTimestamp {
60
+ position : absolute ;
61
+ }
62
+ }
63
+
58
64
.mx_EventTile_line , .mx_EventTile_content {
59
65
margin-right : 0px ;
60
66
}
Original file line number Diff line number Diff line change @@ -18,4 +18,5 @@ limitations under the License.
18
18
color : $event-timestamp-color ;
19
19
font-size : $font-10px ;
20
20
font-variant-numeric : tabular-nums ;
21
+ width : $MessageTimestamp_width ;
21
22
}
Original file line number Diff line number Diff line change @@ -52,31 +52,39 @@ limitations under the License.
52
52
}
53
53
54
54
.mx_EventTile :not ([data-layout = " bubble" ]) {
55
+ $left-gutter : 36px ;
56
+
55
57
.mx_EventTile_line {
56
- padding-left : 36px ;
57
- padding-right : 36px ;
58
+ padding-inline-start : $left-gutter ;
59
+ padding-inline-end : 36px ;
60
+ }
61
+
62
+ .mx_DisambiguatedProfile ,
63
+ .mx_ReactionsRow ,
64
+ .mx_ThreadSummary {
65
+ margin-inline-start : $left-gutter ;
58
66
}
59
67
60
68
.mx_ReactionsRow {
61
69
padding : 0 ;
62
70
63
71
// See margin setting of ReactionsRow on _EventTile.scss
64
- margin-left : 36px ;
65
72
margin-right : 8px ;
66
73
}
67
74
68
75
.mx_ThreadSummary {
69
- margin-left : 36px ;
70
76
margin-right : 0 ;
71
77
max-width : min (calc (100% - 36px ), 600px );
72
78
}
73
79
74
80
.mx_EventTile_avatar {
81
+ position : absolute ; // for IRC layout
75
82
top : 12px ;
76
83
left : -3px ;
77
84
}
78
85
79
86
.mx_MessageTimestamp {
87
+ position : absolute ; // for modern layout and IRC layout
80
88
right : -4px ;
81
89
left : auto ;
82
90
}
@@ -87,7 +95,7 @@ limitations under the License.
87
95
88
96
& .mx_EventTile_info {
89
97
.mx_EventTile_line {
90
- padding-left : 36 px ;
98
+ padding-left : $left-gutter ;
91
99
}
92
100
93
101
.mx_EventTile_avatar {
Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ $left-gutter: 64px;
30
30
}
31
31
32
32
.mx_MessageTimestamp {
33
- position : absolute ;
34
- width : $MessageTimestamp_width ;
33
+ position : absolute ; // for modern layout
35
34
}
36
35
37
36
.mx_EventTile_line , .mx_EventTile_reply {
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ limitations under the License.
15
15
*/
16
16
17
17
$icon-width : 14px ;
18
- $timestamp-width : 45px ;
19
18
$right-padding : 5px ;
20
19
$irc-line-height : $font-18px ;
21
20
@@ -28,7 +27,7 @@ $irc-line-height: $font-18px;
28
27
// timestamps are links which shouldn't be underlined
29
28
> a {
30
29
text-decoration : none ;
31
- min-width : 45 px ;
30
+ min-width : $MessageTimestamp_width ;
32
31
}
33
32
34
33
display : flex ;
@@ -85,7 +84,6 @@ $irc-line-height: $font-18px;
85
84
86
85
.mx_MessageTimestamp {
87
86
font-size : $font-10px ;
88
- width : $timestamp-width ;
89
87
text-align : right ;
90
88
}
91
89
@@ -141,7 +139,7 @@ $irc-line-height: $font-18px;
141
139
142
140
.mx_GenericEventListSummary {
143
141
> .mx_EventTile_line {
144
- padding-left : calc (var (--name-width ) + $icon-width + $timestamp-width + 3 * $right-padding ); // 15 px of padding
142
+ padding-left : calc (var (--name-width ) + $icon-width + $MessageTimestamp_width + 3 * $right-padding ); // 15 px of padding
145
143
}
146
144
147
145
.mx_GenericEventListSummary_avatars {
You can’t perform that action at this time.
0 commit comments