From 3bfabcca08c7673a04558f5ae0e47e7d6347fe08 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Thu, 28 Nov 2024 18:04:26 +0100 Subject: [PATCH] Fix format bar position --- src/components/views/rooms/MessageComposerFormatBar.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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