From 6057c96f0c779b00a9ce445146e2d80ea006332a Mon Sep 17 00:00:00 2001 From: Pastel de N4ta <148751133+N4taaa@users.noreply.github.com> Date: Tue, 1 Oct 2024 17:08:36 +0100 Subject: [PATCH] UX - Swap "Select Language" and "Cancel/Preview/Reply" button locations around in commentsReverse order of buttons in Reply TextArea (#2730) * Reverse order of buttons in Reply TextArea Fixes #1924 * Update markdown-textarea.tsx Oopsie * I'm so confused Reverse last commit * Update markdown-textarea.tsx ?? * Update markdown-textarea.tsx * Lint markdown-textarea.tsx --- .../components/common/markdown-textarea.tsx | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/shared/components/common/markdown-textarea.tsx b/src/shared/components/common/markdown-textarea.tsx index 7f1f4bc0..50f65a13 100644 --- a/src/shared/components/common/markdown-textarea.tsx +++ b/src/shared/components/common/markdown-textarea.tsx @@ -257,29 +257,14 @@ export class MarkdownTextArea extends Component<
- {this.props.showLanguage && ( - - )} - - {/* A flex expander */} -
- - {this.props.replyType && ( + {this.props.buttonTitle && ( )} )} + + {/* A flex expander */} +
+ + {this.props.showLanguage && ( + + )}