coralproject / talk

A better commenting experience from Vox Media
https://coralproject.net
Other
1.89k stars 355 forks source link

[CORL-3009]: Site search fixes to add margin and handle enter #4468

Closed kabeaty closed 9 months ago

kabeaty commented 9 months ago

What does this PR do?

These changes add some margin on the right and left to the site search text area. They also ensure that hitting return doesn't add multiple blank lines when searching.

These changes will impact:

What changes to the GraphQL/Database Schema does this PR introduce?

none

Does this PR introduce any new environment variables or feature flags?

no

If any indexes were added, were they added to INDEXES.md?

n/a

How do I test this PR?

Go to Moderate in admin. Search for some sites and see that there is some margin on the right and left of the focused site search text area now. Hit return key. See that no blank lines are added now.

Were any tests migrated to React Testing Library?

How do we deploy this PR?

netlify[bot] commented 9 months ago

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
Latest commit 6954f275a8140cdbbff93dc2907e1a3b2e411d37
Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/6581e6f205cf6b0008541257