Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Revert "Fix regression around FacePile with overflow (#11527)"
Browse files Browse the repository at this point in the history
This reverts commit 93ccccc.
  • Loading branch information
Germain committed Sep 20, 2023
1 parent 8ac2575 commit 51e2a16
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion res/css/views/elements/_FacePile.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ limitations under the License.
width: 30px;
height: 30px;
background-color: $spacePanel-bg-color;
display: inline-block;

&::before {
content: "";
Expand Down
3 changes: 1 addition & 2 deletions src/components/views/elements/FacePile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
</>
);
Expand Down

0 comments on commit 51e2a16

Please sign in to comment.