diff --git a/source/components/ProgressTip.css b/source/components/ProgressTip.css index d3853d58b..9f84d4d4e 100644 --- a/source/components/ProgressTip.css +++ b/source/components/ProgressTip.css @@ -1,14 +1,8 @@ -#sim .tip { +.progressTip { font-style: italic; margin-bottom: -0.3em; text-align: center; } -#sim .tip p { +.progressTip p { margin: 0; } -#sim .tip progress { - margin-left: 1em; - background: white; - border-width: 1px; - border-style: solid; -} diff --git a/source/components/ProgressTip.js b/source/components/ProgressTip.js index 37f54c546..1c17dca75 100644 --- a/source/components/ProgressTip.js +++ b/source/components/ProgressTip.js @@ -30,24 +30,25 @@ export default class ProgressTip extends Component { ) : null if (!conversationVisible) return null return ( -
- {nbQuestions === 1 - ? 'Une dernière question !' - : `Moins de ${nbQuestions} questions`} + nbQuestions != 0 && ( +
+ {nbQuestions === 1 + ? 'Une dernière question !' + : `Moins de ${nbQuestions} questions`}
- )} -