This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 3 files changed +24
-18
lines changed
src/components/structures
3 files changed +24
-18
lines changed Original file line number Diff line number Diff line change @@ -254,13 +254,26 @@ $SpaceRoomViewInnerWidth: 428px;
254
254
flex-direction : column ;
255
255
min-width : 0 ;
256
256
257
- > .mx_BaseAvatar {
258
- width : 80px ;
259
- }
257
+ .mx_SpaceRoomView_landing_header {
258
+ display : flex ;
259
+ justify-content : space-between ;
260
+
261
+ .mx_BaseAvatar {
262
+ width : 80px ;
263
+
264
+ .mx_BaseAvatar_image {
265
+ border-radius : 12px ;
266
+ }
267
+ }
260
268
261
- > .mx_BaseAvatar_image ,
262
- > .mx_BaseAvatar > .mx_BaseAvatar_image {
263
- border-radius : 12px ;
269
+ .mx_SpaceFeedbackPrompt {
270
+ padding : 7px ; // 8px - 1px border
271
+ border : 1px solid rgba ($primary-content , .1 );
272
+ border-radius : 8px ;
273
+ width : max-content ;
274
+ height : fit-content ;
275
+ margin-left : 24px ;
276
+ }
264
277
}
265
278
266
279
.mx_SpaceRoomView_landing_name {
@@ -360,14 +373,6 @@ $SpaceRoomViewInnerWidth: 428px;
360
373
margin : 0 0 20px ;
361
374
flex : 0 ;
362
375
}
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
376
}
372
377
373
378
.mx_SpaceRoomView_privateScope {
Original file line number Diff line number Diff line change @@ -112,14 +112,13 @@ $spacePanelWidth: 68px;
112
112
position : relative ;
113
113
font-size : inherit ;
114
114
line-height : inherit ;
115
- margin-right : auto ;
115
+ margin-right : 8 px ;
116
116
}
117
117
118
118
.mx_AccessibleButton_kind_link {
119
119
color : $accent ;
120
120
position : relative ;
121
121
padding : 0 ;
122
- margin-left : 8px ;
123
122
font-size : inherit ;
124
123
line-height : inherit ;
125
124
}
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