mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-31 07:00:26 +00:00
Center align hand raise.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user