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 +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,8 @@ limitations under the License.
112112 .mx_DisambiguatedProfile ,
113113 .mx_EventTile_line {
114114 width : fit-content ;
115- max-width : 70% ;
116- // fixed line height to prevent emoji from being taller than text
117- line-height : $font-18px ;
115+ max-width : var (--EventBubbleTile_line-max-width );
116+ line-height : $font-18px ; // fixed line height to prevent emoji from being taller than text
118117 }
119118
120119 // other users profile on bubble layout
@@ -265,6 +264,7 @@ limitations under the License.
265264
266265 .mx_EventTile_line {
267266 --EventBubbleTile_line-margin-inline-end : -12px ;
267+ --EventBubbleTile_line-max-width : 70% ;
268268
269269 position : relative ;
270270 display : flex ;
Original file line number Diff line number Diff line change @@ -901,8 +901,9 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
901901 margin-inline-end : var (--BaseCard_EventTile-spacing-horizontal );
902902
903903 .mx_EventTile_line.mx_EventTile_mediaLine {
904- padding : 0 ;
905- max-width : 100% ;
904+ padding-block : 0 ;
905+ padding-inline-start : 0 ;
906+ max-width : var (--EventBubbleTile_line-max-width );
906907 }
907908
908909 & [data-self = true ] {
You can’t perform that action at this time.
0 commit comments