diff --git a/web/src/ui/rightpanel/RightPanel.css b/web/src/ui/rightpanel/RightPanel.css index d0aa31f..e66c244 100644 --- a/web/src/ui/rightpanel/RightPanel.css +++ b/web/src/ui/rightpanel/RightPanel.css @@ -167,6 +167,27 @@ div.right-panel-content.user { } } } + + div.errors { + display: flex; + flex-direction: column; + gap: .5rem; + + > div.error { + display: flex; + gap: .25rem; + + > p { + margin: 0; + } + + > div.icon { + margin-top: .125rem; + color: var(--error-color); + flex-shrink: 0; + } + } + } } div.right-panel-content.members { diff --git a/web/src/ui/rightpanel/UserInfo.tsx b/web/src/ui/rightpanel/UserInfo.tsx index 2bdeb9f..aca64b3 100644 --- a/web/src/ui/rightpanel/UserInfo.tsx +++ b/web/src/ui/rightpanel/UserInfo.tsx @@ -27,6 +27,7 @@ import { RoomContext } from "../roomview/roomcontext.ts" import EncryptedOffIcon from "@/icons/encrypted-off.svg?react" import EncryptedQuestionIcon from "@/icons/encrypted-question.svg?react" import EncryptedIcon from "@/icons/encrypted.svg?react" +import ErrorIcon from "@/icons/error.svg?react" interface UserInfoProps { userID: UserID @@ -79,7 +80,10 @@ function renderErrors(errors: string[]) { if (!errors.length) { return null } - return
{err}
)}{err}
+{encryptionMessage}
This user's device list is not being tracked.
+