mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Fix width overflow in mini composer overflow menu (#7411)
This commit is contained in:
parent
f94bad7f0a
commit
a9d1f6e616
@ -405,4 +405,12 @@ limitations under the License.
|
||||
.mx_MessageComposer_Menu .mx_CallContextMenu_item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
max-width: unset;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mx_MessageComposer_Menu .mx_ContextualMenu {
|
||||
min-width: 150px;
|
||||
width: max-content;
|
||||
padding: 5px 10px 5px 0;
|
||||
}
|
||||
|
@ -605,10 +605,6 @@ export default class MessageComposer extends React.Component<IProps, IState> {
|
||||
<ContextMenu
|
||||
onFinished={this.toggleButtonMenu}
|
||||
{...menuPosition}
|
||||
menuPaddingRight={10}
|
||||
menuPaddingTop={5}
|
||||
menuPaddingBottom={5}
|
||||
menuWidth={150}
|
||||
wrapperClassName="mx_MessageComposer_Menu"
|
||||
>
|
||||
{ buttons.map((button, index) => (
|
||||
|
Loading…
Reference in New Issue
Block a user