Revert "Fix regression around FacePile with overflow (#11527)"
This reverts commit 93ccccc03d
.
This commit is contained in:
parent
8ac25758b3
commit
51e2a161e1
2 changed files with 1 additions and 3 deletions
|
@ -20,7 +20,6 @@ limitations under the License.
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background-color: $spacePanel-bg-color;
|
background-color: $spacePanel-bg-color;
|
||||||
display: inline-block;
|
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
|
|
|
@ -57,8 +57,7 @@ const FacePile: FC<IProps> = ({
|
||||||
|
|
||||||
const pileContents = (
|
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" /> : null}
|
||||||
{overflow ? <span className="mx_FacePile_more" style={{ marginLeft: `calc(${size} * -0.2)` }} /> : null}
|
|
||||||
{faces}
|
{faces}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue