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 +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
99
99
}
100
100
101
101
& [data-layout = group ] {
102
+ --EventTile_group_line-line-height : $font-22px ;
103
+
102
104
> .mx_DisambiguatedProfile {
103
105
line-height : $font-20px ;
104
106
margin-left : $left-gutter ;
@@ -124,7 +126,7 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
124
126
padding-top : 1px ;
125
127
padding-bottom : 3px ;
126
128
padding-left : $left-gutter ;
127
- line-height : $font-22px ;
129
+ line-height : var ( --EventTile_group_line-line-height ) ;
128
130
}
129
131
130
132
.mx_EventTile_e2eIcon {
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ limitations under the License.
18
18
position : relative ;
19
19
padding : 2px 0 ;
20
20
font-size : $font-14px ;
21
- line-height : $font-16px ;
22
21
23
22
& .mx_ReplyTile_audio .mx_MFileBody_info_icon ::before {
24
23
mask-image : url (" $(res)/img/element-icons/speaker.svg" );
@@ -60,16 +59,14 @@ limitations under the License.
60
59
// We do reply size limiting with CSS to avoid duplicating the TextualBody component.
61
60
.mx_EventTile_content {
62
61
$reply-lines : 2 ;
63
- $line-height : $font-22px ;
64
62
65
63
text-overflow : ellipsis ;
66
64
display : -webkit-box ;
67
65
-webkit-box-orient : vertical ;
68
66
-webkit-line-clamp : $reply-lines ;
69
- line-height : $line-height ;
70
67
71
68
.mx_EventTile_body.mx_EventTile_bigEmoji {
72
- line-height : $line-height !important ;
69
+ line-height : $font-22px !important ; // Same as var(--EventTile_group_line-line-height)
73
70
font-size : $font-14px !important ; // Override the big emoji override
74
71
}
75
72
You can’t perform that action at this time.
0 commit comments