From 64b6c20676f320686c58e321b674cba757e40905 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 7 Jul 2020 17:47:33 +0200 Subject: Change styling and layout of account notes UI --- .../features/account/components/account_note.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'app/javascript/flavours/glitch/features/account/components') diff --git a/app/javascript/flavours/glitch/features/account/components/account_note.js b/app/javascript/flavours/glitch/features/account/components/account_note.js index 3163b8735..8a99bfcb8 100644 --- a/app/javascript/flavours/glitch/features/account/components/account_note.js +++ b/app/javascript/flavours/glitch/features/account/components/account_note.js @@ -63,6 +63,14 @@ class Header extends ImmutablePureComponent { ); + } else { + action_buttons = ( +
+ +
+ ); } let note_container = null; @@ -85,17 +93,10 @@ class Header extends ImmutablePureComponent { return (
- - {!isEditing && ( -
- -
- )} + + {action_buttons}
{note_container} - {action_buttons}
); } -- cgit