diff --git a/app/components/Article/FeedbackForm/feedbackForm.css b/app/components/Article/FeedbackForm/feedbackForm.css index 8be0802c..1b8a356a 100644 --- a/app/components/Article/FeedbackForm/feedbackForm.css +++ b/app/components/Article/FeedbackForm/feedbackForm.css @@ -1,4 +1,5 @@ .feedback-container { + max-width: 384px; padding: var(--spacing-32); } .select-option { @@ -13,7 +14,6 @@ } .feedback-form { - width: 100%; position: relative; color: var(--colors-cool-grey-600); z-index: 2; @@ -50,7 +50,7 @@ .composite-button > .feedback-form { position: absolute; display: none; - transform: translate(-11vw, var(--spacing-56)); + transform: translate(-9vw, var(--spacing-56)); margin: var(--spacing-24); } .composite-button > .feedback-form.show { diff --git a/app/components/Article/index.tsx b/app/components/Article/index.tsx index 2a3a7a97..d16abd14 100644 --- a/app/components/Article/index.tsx +++ b/app/components/Article/index.tsx @@ -68,7 +68,7 @@ const ArticleFooter = (question: Question) => { pageid={question.pageid} showText={true} actionType={ActionType.UNHELPFUL} - onSuccess={() => setShowFeedbackForm(true)} + onClick={() => setShowFeedbackForm(true)} />