This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 3 files changed +27
-18
lines changed
src/components/structures
3 files changed +27
-18
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ $SpaceRoomViewInnerWidth: 428px;
152
152
right : 24px ;
153
153
top : 32px ;
154
154
}
155
+
155
156
// XXX remove this when spaces leaves Beta
156
157
.mx_SpaceRoomView_preview_spaceBetaPrompt {
157
158
font-weight : $font-semi-bold ;
@@ -254,13 +255,27 @@ $SpaceRoomViewInnerWidth: 428px;
254
255
flex-direction : column ;
255
256
min-width : 0 ;
256
257
257
- > .mx_BaseAvatar {
258
- width : 80 px ;
259
- }
258
+ .mx_SpaceRoomView_landing_header {
259
+ display : flex ;
260
+ justify-content : space-between ;
260
261
261
- > .mx_BaseAvatar_image ,
262
- > .mx_BaseAvatar > .mx_BaseAvatar_image {
263
- border-radius : 12px ;
262
+ .mx_BaseAvatar {
263
+ width : 80px ;
264
+
265
+ .mx_BaseAvatar_image {
266
+ border-radius : 12px ;
267
+ }
268
+ }
269
+
270
+ // XXX: Temporary for the Spaces release only
271
+ .mx_SpaceFeedbackPrompt {
272
+ padding : 7px ; // 8px - 1px border
273
+ border : 1px solid rgba ($primary-content , .1 );
274
+ border-radius : 8px ;
275
+ width : max-content ;
276
+ height : fit-content ;
277
+ margin-left : 24px ;
278
+ }
264
279
}
265
280
266
281
.mx_SpaceRoomView_landing_name {
@@ -360,14 +375,6 @@ $SpaceRoomViewInnerWidth: 428px;
360
375
margin : 0 0 20px ;
361
376
flex : 0 ;
362
377
}
363
-
364
- .mx_SpaceFeedbackPrompt {
365
- padding : 7px ; // 8px - 1px border
366
- border : 1px solid rgba ($primary-content , .1 );
367
- border-radius : 8px ;
368
- width : max-content ;
369
- margin : 0 0 -40px auto ; // collapse its own height to not push other components down
370
- }
371
378
}
372
379
373
380
.mx_SpaceRoomView_privateScope {
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ $spacePanelWidth: 68px;
43
43
color : $secondary-content ;
44
44
}
45
45
46
+ // XXX: Temporary for the Spaces release only
46
47
.mx_SpaceFeedbackPrompt {
47
48
border-top : 1px solid $input-border-color ;
48
49
padding-top : 12px ;
@@ -112,14 +113,13 @@ $spacePanelWidth: 68px;
112
113
position : relative ;
113
114
font-size : inherit ;
114
115
line-height : inherit ;
115
- margin-right : auto ;
116
+ margin-right : 8 px ;
116
117
}
117
118
118
119
.mx_AccessibleButton_kind_link {
119
120
color : $accent ;
120
121
position : relative ;
121
122
padding : 0 ;
122
- margin-left : 8px ;
123
123
font-size : inherit ;
124
124
line-height : inherit ;
125
125
}
Original file line number Diff line number Diff line change @@ -479,8 +479,10 @@ const SpaceLanding = ({ space }: { space: Room }) => {
479
479
} ;
480
480
481
481
return < div className = "mx_SpaceRoomView_landing" >
482
- < SpaceFeedbackPrompt />
483
- < RoomAvatar room = { space } height = { 80 } width = { 80 } viewAvatarOnClick = { true } />
482
+ < div className = "mx_SpaceRoomView_landing_header" >
483
+ < RoomAvatar room = { space } height = { 80 } width = { 80 } viewAvatarOnClick = { true } />
484
+ < SpaceFeedbackPrompt />
485
+ </ div >
484
486
< div className = "mx_SpaceRoomView_landing_name" >
485
487
< RoomName room = { space } >
486
488
{ ( name ) => {
You can’t perform that action at this time.
0 commit comments