diff --git a/src/components/views/rooms/MessageComposerFormatBar.tsx b/src/components/views/rooms/MessageComposerFormatBar.tsx index 34798cc6089..0fd0075f779 100644 --- a/src/components/views/rooms/MessageComposerFormatBar.tsx +++ b/src/components/views/rooms/MessageComposerFormatBar.tsx @@ -33,6 +33,11 @@ interface IState { export default class MessageComposerFormatBar extends React.PureComponent { private readonly formatBarRef = createRef(); + /** + * The height of the format bar in pixels. + * @private + */ + private readonly BAR_HEIGHT = 32; public constructor(props: IProps) { super(props); @@ -96,7 +101,7 @@ export default class MessageComposerFormatBar extends React.PureComponent