From 8d8af27ddcc84c2630fe083d6fa5c1d5232b70a0 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Fri, 17 May 2024 12:56:56 +0200 Subject: [PATCH] Fix E2E icon display --- res/css/views/rooms/_LegacyRoomHeader.pcss | 5 +++++ .../structures/__snapshots__/RoomView-test.tsx.snap | 10 +++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/res/css/views/rooms/_LegacyRoomHeader.pcss b/res/css/views/rooms/_LegacyRoomHeader.pcss index ce088f7deba6..a570b0435a6b 100644 --- a/res/css/views/rooms/_LegacyRoomHeader.pcss +++ b/res/css/views/rooms/_LegacyRoomHeader.pcss @@ -65,6 +65,11 @@ limitations under the License. .mx_BetaCard_betaPill { margin-right: $spacing-8; } + + /* The container of E2EIcon in the legacy header needs to have its height set */ + & > span { + height: 100%; + } } .mx_LegacyRoomHeader_name { diff --git a/test/components/structures/__snapshots__/RoomView-test.tsx.snap b/test/components/structures/__snapshots__/RoomView-test.tsx.snap index 91bfd33e83d3..cb2542be4bcc 100644 --- a/test/components/structures/__snapshots__/RoomView-test.tsx.snap +++ b/test/components/structures/__snapshots__/RoomView-test.tsx.snap @@ -510,13 +510,9 @@ exports[`RoomView for a local room in state NEW that is encrypted should match t - -
- +