Fix button width and align 絵文字 (emoji) on the user panel (#8562)
* Fix button width and align 絵文字 (emoji) on the user panel Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * mx_UserInfo_container:not(.mx_UserInfo_separator) Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Move the spinner to the center Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Add indent to 'Unable to load session list' paragraph Because the indent style has been specified with ':not(h3)', wrapping with something is required for the indent. Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Align the spinner to the center Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Remove margin of paragraph inside div on verification panel Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
parent
7ed3089434
commit
997d8ab8b3
2 changed files with 26 additions and 2 deletions
|
@ -249,7 +249,7 @@ function DevicesSection({ devices, userId, loading }: { devices: IDevice[], user
|
|||
return <Spinner />;
|
||||
}
|
||||
if (devices === null) {
|
||||
return <>{ _t("Unable to load session list") }</>;
|
||||
return <p>{ _t("Unable to load session list") }</p>;
|
||||
}
|
||||
const isMe = userId === cli.getUserId();
|
||||
const deviceTrusts = devices.map(d => cli.checkDeviceTrust(userId, d.deviceId));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue