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 17, 2024
1 parent 4e91d8b commit a8926a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/views/rooms/E2EIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const E2EIcon: React.FC<XOR<UserProps, RoomProps>> = ({
}

return (
<Tooltip label={label} placement={tooltipPlacement} isTriggerInteractive={!!onClick}>
<Tooltip label={label} placement={tooltipPlacement}>
{content}
</Tooltip>
);
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 a8926a7

Please sign in to comment.