Skip to content
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

some minor fixes in feedback form #227

Merged
merged 1 commit into from
Aug 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions nepalingo-web/src/components/FeedbackForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ const FeedbackForm: React.FC<FeedbackFormProps> = ({ onClose }) => {
};

return (
<div className="bg-white p-6 rounded-lg shadow-md relative">
<div className="bg-white p-8 rounded-lg shadow-md relative">
{submitted ? (
<div className="text-center">
<button
className="absolute top-2 right-2 text-gray-500 hover:text-gray-700 text-3xl p-2"
className="absolute top-0 right-1 text-gray-500 hover:text-gray-700 text-3xl p-2"
onClick={handleClose}
>
&times;
</button>
<p className="text-lg font-semibold mb-4 text-green-600">
<p className="text-lg font-semibold mb-1 mt-2 text-green-600">
Thank you for your feedback! 🎉
</p>
</div>
Expand Down Expand Up @@ -101,7 +101,7 @@ const FeedbackForm: React.FC<FeedbackFormProps> = ({ onClose }) => {
{error && <p className="text-red-500 mb-4">{error}</p>}

<textarea
className="w-full p-2 border border-gray-300 rounded mb-4"
className="w-full p-2 border border-gray-300 rounded mb-4 text-black"
placeholder="Tell us more about your experience..."
value={comments}
onChange={(e) => setComments(e.target.value)}
Expand Down
Loading