1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-12-10 05:42:29 +03:00

Fix thread filter being cut-off on narrow screens (#7354)

This commit is contained in:
Germain
2021-12-14 09:43:51 +00:00
committed by GitHub
parent 132e19beb7
commit d00809b8b9
2 changed files with 70 additions and 74 deletions

View File

@@ -137,11 +137,11 @@ export const ThreadPanelHeader = ({ filterOption, setFilterOption }: {
isSelected={opt === value}
/>);
const contextMenu = menuDisplayed ? <ContextMenu
top={0}
right={25}
top={100}
right={33}
onFinished={closeMenu}
chevronFace={ChevronFace.Top}
mountAsChild={true}
wrapperClassName="mx_ThreadPanel__header"
>
{ contextMenuOptions }
</ContextMenu> : null;