mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-16 20:20:29 +03:00
Add max width for room and space options menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
0c32d5302c
commit
e85a869733
3 changed files with 5 additions and 5 deletions
|
|
@ -44,7 +44,7 @@ function SpaceOptions({ roomId, afterOptionSelect }) {
|
|||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<div style={{ maxWidth: 'calc(var(--navigation-drawer-width) - var(--sp-normal))' }}>
|
||||
<MenuHeader>{twemojify(`Options for ${initMatrix.matrixClient.getRoom(roomId)?.name}`)}</MenuHeader>
|
||||
<MenuItem
|
||||
onClick={handlePinClick}
|
||||
|
|
@ -67,7 +67,7 @@ function SpaceOptions({ roomId, afterOptionSelect }) {
|
|||
>
|
||||
Leave
|
||||
</MenuItem>
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue