This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -279,9 +279,15 @@ limitations under the License.
279
279
}
280
280
281
281
& :not (.mx_EventTile_noBubble ) .mx_EventTile_line :not (.mx_EventTile_mediaLine ) {
282
- padding : var (--gutterSize );
282
+ // make the top and bottom padding 1px smaller so that we can pad .mx_EventTile_content by 1px
283
+ // to avoid anti-zalgo cutting off our larger than text emojis.
284
+ padding : calc (var (--gutterSize ) - 1px );
283
285
padding-right : 60px ; // space for the timestamp
284
286
background : var (--backgroundColor );
287
+
288
+ .mx_EventTile_content {
289
+ padding : 1px ;
290
+ }
285
291
}
286
292
287
293
& .mx_EventTile_continuation [data-self = false ] .mx_EventTile_line {
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ $irc-line-height: $font-18px;
25
25
line-height : $irc-line-height !important ;
26
26
27
27
.mx_EventTile {
28
-
29
28
// timestamps are links which shouldn't be underlined
30
29
> a {
31
30
text-decoration : none ;
@@ -111,6 +110,8 @@ $irc-line-height: $font-18px;
111
110
.mx_TextualEvent ,
112
111
.mx_MTextBody {
113
112
display : inline-block ;
113
+ // add a 1px padding top and bottom because our larger emoji font otherwise gets cropped by anti-zalgo
114
+ padding : 1px 0 ;
114
115
}
115
116
}
116
117
You can’t perform that action at this time.
0 commit comments