Fix buttons alignment of Space list header (#8047)

This commit is contained in:
Suguru Hirahara 2022-03-14 09:07:36 +00:00 committed by GitHub
parent 14807de552
commit ed6a371616
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 15 deletions

View file

@ -770,8 +770,10 @@ const SpaceHierarchy = ({
content = <>
<div className="mx_SpaceHierarchy_listHeader">
<h4>{ query.trim() ? _t("Results") : _t("Rooms and spaces") }</h4>
<span>
<h4 className="mx_SpaceHierarchy_listHeader_header">
{ query.trim() ? _t("Results") : _t("Rooms and spaces") }
</h4>
<div className="mx_SpaceHierarchy_listHeader_buttons">
{ additionalButtons }
{ hasPermissions && (
<ManageButtons
@ -781,7 +783,7 @@ const SpaceHierarchy = ({
setError={setError}
/>
) }
</span>
</div>
</div>
{ errorText && <div className="mx_SpaceHierarchy_error">
{ errorText }