css upd
This commit is contained in:
@ -112,7 +112,7 @@
|
|||||||
|
|
||||||
.anon-card {
|
.anon-card {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
animation: 0.3s ease-out 0s 1 cardPopup;
|
animation: 0.3s ease-out 0s 1 cardPopup;
|
||||||
background: #001d39;
|
background: #001d39;
|
||||||
|
|||||||
@ -87,14 +87,12 @@ const AnonUserCard = (props: {
|
|||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
{props.queueUser &&
|
{props.queueUser &&
|
||||||
clientId === props.queueUser.user.id &&
|
clientId === props.queueUser.user.id &&
|
||||||
props.queueUser.position === 0 &&
|
(props.queueUser.position === 0 && props.queue?.status === "active" ? (
|
||||||
props.queue?.status === "active" ? (
|
<Button onClick={() => passQueue()}>{tr("Pass")}</Button>
|
||||||
<Button onClick={() => passQueue()}>{tr("Pass")}</Button>
|
) : (
|
||||||
) : (
|
<Button onClick={() => passQueue()}>{tr("Leave")}</Button>
|
||||||
<Button onClick={() => passQueue()}>{tr("Leave")}</Button>
|
))}
|
||||||
)}
|
|
||||||
<p></p>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user