Merge pull request #11634 from matrix-org/germain-gg/facepile-offset

Revert "Fix regression around FacePile with overflow (#11527)"
This commit is contained in:
Andy Balaam 2023-09-26 09:49:37 +01:00 committed by GitHub
commit 875fcb1a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 101 additions and 100 deletions

View file

@ -57,9 +57,8 @@ const FacePile: FC<IProps> = ({
const pileContents = (
<>
{/* XXX: The margin-left is a workaround for Compound's styling excluding this element and being overly specific */}
{overflow ? <span className="mx_FacePile_more" style={{ marginLeft: `calc(${size} * -0.2)` }} /> : null}
{faces}
{overflow ? <span className="mx_FacePile_more" /> : null}
</>
);