Add max width for room and space options menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user