Remove obsolete CSS declarations from _RoomHeader.pcss (#10496)

* Remove obsolete mx_RoomHeader_textButton and mx_RoomHeader_cancelButton

These declarations have been obsolete since GroupView.js was deleted by fce36ec826.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove obsolete mx_RoomHeader_spinner

As of 79d3cca6 it was used as follows:

````
if (this.props.saving) {
    const Spinner = sdk.getComponent("elements.Spinner");
    spinner = <div className="mx_RoomHeader_spinner"><Spinner /></div>;
}
````

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove obsolete mx_RoomHeader_info

This was deprecated by 18fedb23ec

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2023-04-20 08:21:06 +00:00 committed by GitHub
parent 83e6a6057d
commit 8867f1801e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,35 +61,6 @@ limitations under the License.
}
}
.mx_RoomHeader_spinner {
flex: 1;
height: 36px;
padding-left: 12px;
padding-right: 12px;
}
.mx_RoomHeader_textButton {
@mixin mx_DialogButton;
margin-right: 8px;
margin-top: -5px;
}
.mx_RoomHeader_textButton_danger {
background-color: $alert;
}
.mx_RoomHeader_cancelButton {
cursor: pointer;
padding-left: 12px;
padding-right: 12px;
}
.mx_RoomHeader_info {
display: flex;
flex: 1;
align-items: center;
}
.mx_RoomHeader_name {
flex: 0 1 auto;
overflow: hidden;