Commit 1a6ce2ab by Chetan

reviews comment textarea responsive

1 parent ef8940ac
......@@ -101,7 +101,7 @@ const GuestReviews = ({ activityById }) => {
rating={data.attributes.rating}
starRatedColor="#ffe20" // Set the rated color to yellow
starHoverColor="#ffe20" // Set the hover color to yellow
changeRating={() => {}}
changeRating={() => { }}
numberOfStars={5}
name="rating"
starDimension="20px" // Set star width and height
......@@ -149,20 +149,24 @@ const GuestReviews = ({ activityById }) => {
starDimension="20px" // Set star width and height
/>
</div>
<textarea
// style={{ width: "50%" }}
rows={4}
className="p-2 mx-2 col-md-6"
placeholder="Comments"
name="comments"
value={comments}
onChange={e => {
e.preventDefault();
// console.log(e.target.value);4
setcomments(e.target.value);
// setrejectionReasonText(e.target.value);
}}
/>
<div className="row">
<div className="col-md-6">
<textarea
// style={{ width: "50%" }}
rows={4}
className="p-2 w-100"
placeholder="Comments"
name="comments"
value={comments}
onChange={e => {
e.preventDefault();
// console.log(e.target.value);4
setcomments(e.target.value);
// setrejectionReasonText(e.target.value);
}}
/>
</div>
</div>
<div className="view-all-btn my-3">
<Button
disabled={rating == 0 || comments == ""}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!