Add indentation for unencrypted warning text

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
Germain 2021-06-10 14:21:48 +01:00 committed by GitHub
parent 9731e275f8
commit 79b8fbc2a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,10 +185,12 @@ const NewRoomIntro = () => {
});
}
const sub2 = _t("Your private messages are normally encrypted, but this room isn't. "+
"Usually this is due to an unsupported device or method being used, " +
"like email invites. <a>Enable encryption in settings.</a>", {},
{ a: sub => <a onClick={openRoomSettings} href="#">{sub}</a> });
const sub2 = _t(
"Your private messages are normally encrypted, but this room isn't. "+
"Usually this is due to an unsupported device or method being used, " +
"like email invites. <a>Enable encryption in settings.</a>", {},
{ a: sub => <a onClick={openRoomSettings} href="#">{sub}</a> },
);
return <div className="mx_NewRoomIntro">