Remove usage of the size prop.
You can have it any size you like as long as it's 8px.
This commit is contained in:
@@ -462,7 +462,7 @@ export default function RoomHeader({
|
|||||||
<>
|
<>
|
||||||
<CurrentRightPanelPhaseContextProvider roomId={room.roomId}>
|
<CurrentRightPanelPhaseContextProvider roomId={room.roomId}>
|
||||||
<Flex as="header" align="center" gap="var(--cpd-space-3x)" className="mx_RoomHeader light-panel">
|
<Flex as="header" align="center" gap="var(--cpd-space-3x)" className="mx_RoomHeader light-panel">
|
||||||
<WithPresenceIndicator room={room} size="8px">
|
<WithPresenceIndicator room={room}>
|
||||||
{/* We hide this from the tabIndex list as it is a pointer shortcut and superfluous for a11y */}
|
{/* We hide this from the tabIndex list as it is a pointer shortcut and superfluous for a11y */}
|
||||||
{/* Disable on-click actions until the room is created */}
|
{/* Disable on-click actions until the room is created */}
|
||||||
<RoomAvatar
|
<RoomAvatar
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ describe("WithPresenceIndicator", () => {
|
|||||||
|
|
||||||
function renderComponent() {
|
function renderComponent() {
|
||||||
return render(
|
return render(
|
||||||
<WithPresenceIndicator room={room} size="32px">
|
<WithPresenceIndicator room={room}>
|
||||||
<span />
|
<span />
|
||||||
</WithPresenceIndicator>,
|
</WithPresenceIndicator>,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user