Fix: align base card close button to the right always (#11861)

This commit is contained in:
Kerry 2023-11-14 10:57:20 +13:00 committed by GitHub
parent cda17d55b4
commit a3f0633037
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 21 deletions

View file

@ -90,7 +90,7 @@ const BaseCard: React.FC<IProps> = forwardRef<HTMLDivElement, IProps>(
<div className="mx_BaseCard_header">
{backButton}
{closeButton}
{header}
<div className="mx_BaseCard_headerProp">{header}</div>
</div>
)}
{children}