Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Remove obsolete CSS declarations from _RoomHeader.pcss (#10496)
Browse files Browse the repository at this point in the history
* Remove obsolete mx_RoomHeader_textButton and mx_RoomHeader_cancelButton

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

Signed-off-by: Suguru Hirahara <[email protected]>

* Remove obsolete mx_RoomHeader_spinner

As of 79d3cca 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 <[email protected]>

* Remove obsolete mx_RoomHeader_info

This was deprecated by 18fedb2

Signed-off-by: Suguru Hirahara <[email protected]>

---------

Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul committed Apr 20, 2023
1 parent 83e6a60 commit 8867f18
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions res/css/views/rooms/_RoomHeader.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8867f18

Please sign in to comment.