mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-21 09:52:07 +03:00
c2ce7dbc5e
* display a warning when an unverified user's identity changes * use Compound and make comments into doc comments * refactor to use functional component * split into multiple hooks * apply minor changes from review * use Crypto API to determine if room is encrypted * apply changes from review * change initialisation status to a tri-state rather than a boolean * fix more race conditions, and apply changes from review * apply changes from review and switch to using counter for detecting races * Remove outdated comment Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * fix test --------- Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
28 lines
810 B
Text
28 lines
810 B
Text
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
.mx_UserIdentityWarning {
|
|
/* 42px is the padding-left of .mx_MessageComposer_wrapper in res/css/views/rooms/_MessageComposer.pcss */
|
|
margin-left: calc(-42px + var(--RoomView_MessageList-padding));
|
|
|
|
.mx_UserIdentityWarning_row {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.mx_BaseAvatar {
|
|
margin-left: var(--cpd-space-2x);
|
|
}
|
|
.mx_UserIdentityWarning_main {
|
|
margin-left: var(--cpd-space-6x);
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mx_MessageComposer.mx_MessageComposer--compact > .mx_UserIdentityWarning {
|
|
margin-left: calc(-25px + var(--RoomView_MessageList-padding));
|
|
}
|