You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Make toast dismiss button less prominent
This commit is contained in:
@@ -50,7 +50,7 @@ const GenericToast: React.FC<XOR<IPropsExtended, IProps>> = ({
|
|||||||
{detailContent}
|
{detailContent}
|
||||||
</div>
|
</div>
|
||||||
<div className="mx_Toast_buttons" aria-live="off">
|
<div className="mx_Toast_buttons" aria-live="off">
|
||||||
{onReject && rejectLabel && <AccessibleButton kind="danger" onClick={onReject}>
|
{onReject && rejectLabel && <AccessibleButton kind="danger_outline" onClick={onReject}>
|
||||||
{ rejectLabel }
|
{ rejectLabel }
|
||||||
</AccessibleButton> }
|
</AccessibleButton> }
|
||||||
<AccessibleButton onClick={onAccept} kind="primary">
|
<AccessibleButton onClick={onAccept} kind="primary">
|
||||||
|
|||||||
Reference in New Issue
Block a user