mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Fix regression around FacePile with overflow (#11527)
* Work around compound-web AvatarStack not applying overlap to non-Avatars * Fix FacePile overflow tile not being layed out correctly
This commit is contained in:
parent
9eda619395
commit
93ccccc03d
@ -20,6 +20,7 @@ limitations under the License.
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background-color: $spacePanel-bg-color;
|
||||
display: inline-block;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
|
@ -57,7 +57,8 @@ const FacePile: FC<IProps> = ({
|
||||
|
||||
const pileContents = (
|
||||
<>
|
||||
{overflow ? <span className="mx_FacePile_more" /> : null}
|
||||
{/* 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}
|
||||
</>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user