This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 3 files changed +12
-9
lines changed
res/css/views/right_panel
components/views/right_panel
3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ limitations under the License.
15
15
*/
16
16
17
17
.mx_RoomSummaryCard {
18
+ --cpd-separator-inset : var (--cpd-space-4x );
19
+ --cpd-separator-spacing : var (--cpd-space-4x );
20
+
18
21
.mx_RoomSummaryCard_container {
19
22
text-align : center;
20
23
margin : $spacing-20 var (--cpd-space-4x ) 0 ;
Original file line number Diff line number Diff line change @@ -571,16 +571,14 @@ const RoomSummaryCard: React.FC<IProps> = ({
571
571
// XXX: https://github.com/element-hq/compound/issues/288
572
572
onSelect = { ( ) => { } }
573
573
/>
574
+ < Separator />
574
575
< MenuItem
575
576
Icon = { UserAddIcon }
576
577
label = { _t ( "action|invite" ) }
577
578
disabled = { ! canInviteToState }
578
579
onSelect = { ( ) => inviteToRoom ( room ) }
579
580
/>
580
581
< MenuItem Icon = { LinkIcon } label = { _t ( "action|copy_link" ) } onSelect = { onShareRoomClick } />
581
- < MenuItem Icon = { SettingsIcon } label = { _t ( "common|settings" ) } onSelect = { onRoomSettingsClick } />
582
-
583
- < Separator />
584
582
{ ! isVideoRoom && (
585
583
< >
586
584
< MenuItem Icon = { FilesIcon } label = { _t ( "right_panel|files_button" ) } onSelect = { onRoomFilesClick } />
@@ -600,16 +598,18 @@ const RoomSummaryCard: React.FC<IProps> = ({
600
598
</ Text >
601
599
</ MenuItem >
602
600
) }
603
- < MenuItem
604
- Icon = { ExportArchiveIcon }
605
- label = { _t ( "export_chat|title" ) }
606
- onSelect = { onRoomExportClick }
607
- />
608
601
</ >
609
602
) }
610
603
611
604
< Separator />
612
605
606
+ { ! isVideoRoom && (
607
+ < MenuItem Icon = { ExportArchiveIcon } label = { _t ( "export_chat|title" ) } onSelect = { onRoomExportClick } />
608
+ ) }
609
+
610
+ < MenuItem Icon = { SettingsIcon } label = { _t ( "common|settings" ) } onSelect = { onRoomSettingsClick } />
611
+
612
+ < Separator />
613
613
< MenuItem
614
614
Icon = { LeaveIcon }
615
615
kind = "critical"
Original file line number Diff line number Diff line change 1869
1869
"view_in_timeline" : " View poll in timeline" ,
1870
1870
"view_poll" : " View poll"
1871
1871
},
1872
- "polls_button" : " Poll history " ,
1872
+ "polls_button" : " Polls " ,
1873
1873
"room_summary_card" : {
1874
1874
"title" : " Room info"
1875
1875
},
You can’t perform that action at this time.
0 commit comments