From f229bcb6cad62fab5f8257aa8c5e0e8ae41db936 Mon Sep 17 00:00:00 2001 From: Mael Date: Tue, 15 Jan 2019 18:59:48 +0100 Subject: [PATCH] :art: Affichage du 'page utile ?' sur mobile --- source/components/Feedback/Feedback.css | 2 ++ source/components/Feedback/PageFeedback.js | 31 ++++++++++++---------- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/source/components/Feedback/Feedback.css b/source/components/Feedback/Feedback.css index 6884449b5..5f7794da2 100644 --- a/source/components/Feedback/Feedback.css +++ b/source/components/Feedback/Feedback.css @@ -1,5 +1,7 @@ .feedback-page { align-items: flex-start; display: flex; + align-items: flex-end; + justify-content: space-between; padding: 0.6rem !important; } diff --git a/source/components/Feedback/PageFeedback.js b/source/components/Feedback/PageFeedback.js index 9aea0616e..01edffc6a 100644 --- a/source/components/Feedback/PageFeedback.js +++ b/source/components/Feedback/PageFeedback.js @@ -95,26 +95,29 @@ class PageFeedback extends Component {
{!this.state.showForm && !this.state.showThanks && ( <> -
+
{this.props.customMessage || ( - Cette page vous a-t-elle été utile ? + Cette page vous est utile ? )}{' '} - {' '} - +
+ {' '} + +