Revert "Fix regression around FacePile with overflow (#11527)"

This reverts commit 93ccccc03d.
This commit is contained in:
Germain 2023-09-20 13:54:54 +01:00
parent 8ac25758b3
commit 51e2a161e1
2 changed files with 1 additions and 3 deletions

View file

@ -20,7 +20,6 @@ limitations under the License.
width: 30px;
height: 30px;
background-color: $spacePanel-bg-color;
display: inline-block;
&::before {
content: "";

View file

@ -57,8 +57,7 @@ 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}
{overflow ? <span className="mx_FacePile_more" /> : null}
{faces}
</>
);