-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
miscellaneous mobile fixes #714
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but check with @melissasamworth
app/components/Feedback/Form.tsx
Outdated
@@ -27,6 +28,9 @@ const FeedbackForm = ({onSubmit, onClose, options, className}: FeedbackFormProps | |||
|
|||
return ( | |||
<div ref={clickCheckerRef} className={'feedback-form bordered ' + (className ?? '')}> | |||
<button onClick={onClose} className="mobile-only escape-feedback"> | |||
<XLarge></XLarge> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<XLarge />
is how it's done when the tag doesn't have any contents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too true
|
||
@media (max-width: 780px) { | ||
.feedback-form { | ||
left: -20px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks suspicious - @melissasamworth ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha yes, I didn't try very hard to properly align the feedback form on mobile, because I wanted to wait until the column sizing is fixed on mobile. I could have a crack at fixing the mobile column margin but I feel like @melissasamworth had something specific in mind?
Fixed mobile feedback, left aligned human-written-response, z-index fix