From 460d84c5f4c30693e88f06cca94b52e57e8f1c0e Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Tue, 14 Jul 2020 18:51:00 +0200 Subject: [PATCH] Improved mascot popup buttons layout --- src/components/Mascot/MascotPopup.js | 29 ++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/src/components/Mascot/MascotPopup.js b/src/components/Mascot/MascotPopup.js index 74d17a8..74999ef 100644 --- a/src/components/Mascot/MascotPopup.js +++ b/src/components/Mascot/MascotPopup.js @@ -173,26 +173,17 @@ class MascotPopup extends React.Component { const cancel = this.props.buttons.cancel; return ( - {cancel != null - ? - : null} {action != null ? : null} + {cancel != null + ? + : null} ); }