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
29 changed files with 101 additions and 100 deletions
+1 -2
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}
</>
);