Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix E2E icon display
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed May 20, 2024
1 parent 4e91d8b commit 8d8af27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 5 additions & 0 deletions res/css/views/rooms/_LegacyRoomHeader.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 3 additions & 7 deletions test/components/structures/__snapshots__/RoomView-test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -510,13 +510,9 @@ exports[`RoomView for a local room in state NEW that is encrypted should match t
</span>
</div>
</div>
<span
tabindex="0"
>
<div
class="mx_E2EIcon mx_E2EIcon_normal mx_LegacyRoomHeader_icon"
/>
</span>
<div
class="mx_E2EIcon mx_E2EIcon_normal mx_LegacyRoomHeader_icon"
/>
<div
class="mx_LegacyRoomHeader_name mx_LegacyRoomHeader_name--textonly"
>
Expand Down

0 comments on commit 8d8af27

Please sign in to comment.