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.
112
112
.mx_DisambiguatedProfile ,
113
113
.mx_EventTile_line {
114
114
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
118
117
}
119
118
120
119
// other users profile on bubble layout
@@ -265,6 +264,7 @@ limitations under the License.
265
264
266
265
.mx_EventTile_line {
267
266
--EventBubbleTile_line-margin-inline-end : -12px ;
267
+ --EventBubbleTile_line-max-width : 70% ;
268
268
269
269
position : relative ;
270
270
display : flex ;
Original file line number Diff line number Diff line change @@ -901,8 +901,9 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
901
901
margin-inline-end : var (--BaseCard_EventTile-spacing-horizontal );
902
902
903
903
.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 );
906
907
}
907
908
908
909
& [data-self = true ] {
You can’t perform that action at this time.
0 commit comments