mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-27 00:48:06 +08:00
Remove useless list
This commit is contained in:
parent
04ff724246
commit
8f05331703
@ -128,25 +128,23 @@ export function ReactionPopupMenu({
|
|||||||
</menu>
|
</menu>
|
||||||
</section>
|
</section>
|
||||||
<section style={{ marginLeft: "var(--cpd-separator-spacing)" }}>
|
<section style={{ marginLeft: "var(--cpd-separator-spacing)" }}>
|
||||||
<li key="search" className={styles.reactionPopupMenuItem}>
|
<Tooltip
|
||||||
<Tooltip
|
label={
|
||||||
label={
|
isFullyExpanded ? t("action.show_less") : t("action.show_more")
|
||||||
isFullyExpanded ? t("action.show_less") : t("action.show_more")
|
}
|
||||||
|
>
|
||||||
|
<CpdButton
|
||||||
|
iconOnly
|
||||||
|
aria-label={
|
||||||
|
isFullyExpanded
|
||||||
|
? t("action.show_less")
|
||||||
|
: t("action.show_more")
|
||||||
}
|
}
|
||||||
>
|
Icon={isFullyExpanded ? ChevronUpIcon : ChevronDownIcon}
|
||||||
<CpdButton
|
kind="tertiary"
|
||||||
iconOnly
|
onClick={() => setExpanded(!isFullyExpanded)}
|
||||||
aria-label={
|
/>
|
||||||
isFullyExpanded
|
</Tooltip>
|
||||||
? t("action.show_less")
|
|
||||||
: t("action.show_more")
|
|
||||||
}
|
|
||||||
Icon={isFullyExpanded ? ChevronUpIcon : ChevronDownIcon}
|
|
||||||
kind="tertiary"
|
|
||||||
onClick={() => setExpanded(!isFullyExpanded)}
|
|
||||||
/>
|
|
||||||
</Tooltip>
|
|
||||||
</li>
|
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
Loading…
Reference in New Issue
Block a user