Merge pull request #11634 from matrix-org/germain-gg/facepile-offset
Revert "Fix regression around FacePile with overflow (#11527)"
This commit is contained in:
commit
875fcb1a32
29 changed files with 101 additions and 100 deletions
|
@ -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}
|
||||
</>
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue