Skip to content

Commit

Permalink
form styling
Browse files Browse the repository at this point in the history
  • Loading branch information
zarSou9 committed May 29, 2024
1 parent 1c52886 commit efc5302
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/Feedback/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const FeedbackForm = ({onSubmit, onClose, options, className}: FeedbackFormProps
placeholder="Leave a comment (optional)"
onChange={(e) => setMessage(e.target.value)}
/>
<Button className="primary full-width" action={handleSubmit} disabled={!enabledSubmit}>
<Button className="primary full-width submit" action={handleSubmit} disabled={!enabledSubmit}>
<p>Submit feedback</p>
</Button>
</div>
Expand Down
10 changes: 9 additions & 1 deletion app/components/Feedback/feedback.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,20 @@
/* Comment to Nemo when he reviews: why didn't you just do this the way you did the settings buttons? */
.select-option {
height: var(--spacing-48);
padding: var(--spacing-8) var(--spacing-16);
border-radius: 6px;
margin-bottom: var(--spacing-16);
cursor: pointer;
width: 100%;
}

.submit {
height: var(--spacing-48);
border-radius: 6px;
font-weight: 500 !important;
cursor: pointer;
width: 100%;
}

.select-option.selected {
border: 1px solid var(--colors-teal-500);
}
Expand Down

0 comments on commit efc5302

Please sign in to comment.