1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Add feature flag 'feature_new_room_decoration_ui' and segrate legacy UI component (#11345)

* Move RoomHeader to LegacyRoomHeader

* Create new RoomHeader component
This commit is contained in:
Germain
2023-08-01 08:32:53 +01:00
committed by GitHub
parent 89a92c6351
commit 6ae7c033d5
30 changed files with 2309 additions and 2103 deletions

View File

@ -27,7 +27,7 @@ limitations under the License.
/* The resizer should be centered: only half of the gap-width is handled by the right panel. */
/* The other half by the RoomView. */
padding-left: calc(var(--container-gap-width) / 2);
height: calc(100vh - 51px); /* height of .mx_RoomHeader.light-panel */
height: calc(100vh - 51px); /* height of .mx_LegacyRoomHeader.light-panel */
&:hover .mx_ResizeHandle--horizontal::before {
position: absolute;

View File

@ -190,7 +190,7 @@ limitations under the License.
}
/* Rooms with immersive content */
.mx_RoomView_immersive .mx_RoomHeader_wrapper {
.mx_RoomView_immersive .mx_LegacyRoomHeader_wrapper {
border: unset;
}