Move the beta pill to the right side and display the pill on video room only (#8873)
This commit is contained in:
parent
cfbe1cb066
commit
769efa3074
2 changed files with 5 additions and 1 deletions
|
@ -74,6 +74,7 @@ limitations under the License.
|
||||||
|
|
||||||
// XXX Remove this when video rooms leave beta
|
// XXX Remove this when video rooms leave beta
|
||||||
.mx_BetaCard_betaPill {
|
.mx_BetaCard_betaPill {
|
||||||
|
margin-inline-start: auto;
|
||||||
align-self: start;
|
align-self: start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,7 +102,10 @@ const RoomPreviewCard: FC<IProps> = ({ room, onJoinButtonClicked, onRejectButton
|
||||||
{ inviteSender }
|
{ inviteSender }
|
||||||
</div> : null }
|
</div> : null }
|
||||||
</div>
|
</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>;
|
</div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue