Move the beta pill to the right side and display the pill on video room only (#8873)
							parent
							
								
									cfbe1cb066
								
							
						
					
					
						commit
						769efa3074
					
				|  | @ -74,6 +74,7 @@ limitations under the License. | |||
| 
 | ||||
|         // XXX Remove this when video rooms leave beta | ||||
|         .mx_BetaCard_betaPill { | ||||
|             margin-inline-start: auto; | ||||
|             align-self: start; | ||||
|         } | ||||
|     } | ||||
|  |  | |||
|  | @ -102,7 +102,10 @@ const RoomPreviewCard: FC<IProps> = ({ room, onJoinButtonClicked, onRejectButton | |||
|                         { inviteSender } | ||||
|                     </div> : null } | ||||
|                 </div> | ||||
|                 <BetaPill onClick={viewLabs} tooltipTitle={_t("Video rooms are a beta feature")} /> | ||||
|                 { room.isElementVideoRoom() | ||||
|                     ? <BetaPill onClick={viewLabs} tooltipTitle={_t("Video rooms are a beta feature")} /> | ||||
|                     : null | ||||
|                 } | ||||
|             </div>; | ||||
|         } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Suguru Hirahara
						Suguru Hirahara