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
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -332,6 +332,9 @@ limitations under the License.
332332
333333 .mx_EventTile_e2eIcon {
334334 flex-shrink : 0 ; /* keep it at full size */
335+
336+ // Keep height equal to text for shield alignment, additional 2px because of 1px padding on text
337+ height : calc ($font-18px + 2 px );
335338 }
336339 }
337340
Original file line number Diff line number Diff line change @@ -485,7 +485,11 @@ $left-gutter: 64px;
485485 }
486486
487487 .mx_EventTile_e2eIcon {
488- inset : 6 px 0 0 44 px ;
488+ inset : 0 0 0 44 px ;
489+
490+ // Keep height equal to text for alignment
491+ height : var (--EventTile_group_line-line-height );
492+ margin : 1 px ;
489493 }
490494
491495 .mx_EventTile_msgOption {
@@ -1350,7 +1354,6 @@ $left-gutter: 64px;
13501354 .mx_EventTile [data-layout="group" ] {
13511355 --MatrixChat_useCompactLayout_group-padding-top : $spacing-4 ;
13521356 --MatrixChat_useCompactLayout-top-avatar : 2 px ;
1353- --MatrixChat_useCompactLayout-top-e2eIcon : 3 px ;
13541357 --MatrixChat_useCompactLayout_line-spacing-block : 0 px ;
13551358
13561359 padding-top : var (--MatrixChat_useCompactLayout_group-padding-top );
@@ -1410,7 +1413,7 @@ $left-gutter: 64px;
14101413 }
14111414
14121415 .mx_EventTile_e2eIcon {
1413- top : var ( --MatrixChat_useCompactLayout-top-e2eIcon ) ;
1416+ margin : 0 px ;
14141417 }
14151418
14161419 .mx_DisambiguatedProfile {
You can’t perform that action at this time.
0 commit comments