Fix User Motto div

This commit is contained in:
MyNameIsBatman 2021-09-06 03:54:00 -03:00
parent 6d0607cb2e
commit 7707b1c7aa

View File

@ -125,7 +125,7 @@ export const InfoStandWidgetUserView: FC<InfoStandWidgetUserViewProps> = props =
</div> </div>
<hr className="m-0 my-1" /> <hr className="m-0 my-1" />
<div className="bg-light-dark rounded py-1 px-2 small"> <div className="bg-light-dark rounded py-1 px-2 small">
{ userData.type !== RoomWidgetUpdateInfostandUserEvent.OWN_USER && <div className="motto-content">{ motto }</div> } { userData.type !== RoomWidgetUpdateInfostandUserEvent.OWN_USER && <div className="motto-content w-100 text-wrap text-break">{ motto }</div> }
{ userData.type === RoomWidgetUpdateInfostandUserEvent.OWN_USER && { userData.type === RoomWidgetUpdateInfostandUserEvent.OWN_USER &&
<div className="d-flex justify-content-between align-items-center"> <div className="d-flex justify-content-between align-items-center">
<i className="small fas fa-pencil-alt me-2"></i> <i className="small fas fa-pencil-alt me-2"></i>