This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 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.
279279 }
280280
281281 & :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 );
283285 padding-right : 60px ; // space for the timestamp
284286 background : var (--backgroundColor );
287+
288+ .mx_EventTile_content {
289+ padding : 1px ;
290+ }
285291 }
286292
287293 & .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;
2525 line-height : $irc-line-height !important ;
2626
2727 .mx_EventTile {
28-
2928 // timestamps are links which shouldn't be underlined
3029 > a {
3130 text-decoration : none ;
@@ -111,6 +110,8 @@ $irc-line-height: $font-18px;
111110 .mx_TextualEvent ,
112111 .mx_MTextBody {
113112 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 ;
114115 }
115116 }
116117
You can’t perform that action at this time.
0 commit comments