From 51e2a161e113a970e281181c761bb9cf7d4b6326 Mon Sep 17 00:00:00 2001 From: Germain Date: Wed, 20 Sep 2023 13:54:54 +0100 Subject: [PATCH] Revert "Fix regression around FacePile with overflow (#11527)" This reverts commit 93ccccc03d3911c525d31f8e5bb8ad3d483b2b55. --- res/css/views/elements/_FacePile.pcss | 1 - src/components/views/elements/FacePile.tsx | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/res/css/views/elements/_FacePile.pcss b/res/css/views/elements/_FacePile.pcss index 921965dd59..ecc801cb51 100644 --- a/res/css/views/elements/_FacePile.pcss +++ b/res/css/views/elements/_FacePile.pcss @@ -20,7 +20,6 @@ limitations under the License. width: 30px; height: 30px; background-color: $spacePanel-bg-color; - display: inline-block; &::before { content: ""; diff --git a/src/components/views/elements/FacePile.tsx b/src/components/views/elements/FacePile.tsx index 2ade713816..ab71cff7cb 100644 --- a/src/components/views/elements/FacePile.tsx +++ b/src/components/views/elements/FacePile.tsx @@ -57,8 +57,7 @@ const FacePile: FC = ({ const pileContents = ( <> - {/* XXX: The margin-left is a workaround for Compound's styling excluding this element and being overly specific */} - {overflow ? : null} + {overflow ? : null} {faces} );