Center align hand raise.

This commit is contained in:
Half-Shot
2024-10-25 11:37:40 +01:00
parent 42a7b1ec2a
commit 16afb568fd
2 changed files with 10 additions and 11 deletions

View File

@@ -106,6 +106,14 @@ unconditionally select the container so we can use cqmin units */
max-inline-size: 100%;
}
.raisedHand > span {
width: var(--cpd-space-8x);
height: var(--cpd-space-8x);
display: inline-block;
text-align: center;
font-size: 22px;
}
.nameTag {
grid-area: nameTag;
padding: var(--cpd-space-1x);

View File

@@ -90,18 +90,9 @@ export const MediaView = forwardRef<HTMLDivElement, Props>(
<div className={styles.fg}>
{raisedHand && (
<div className={styles.raisedHand}>
<p
role="img"
aria-label="raised hand"
style={{
width: "22px",
height: "0px",
display: "inline-block",
fontSize: "22px",
}}
>
<span role="img" aria-label="raised hand">
</p>
</span>
</div>
)}
<div className={styles.nameTag}>