Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 1a6ce2ab
authored
2024-06-10 15:50:21 +0530
by
Chetan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
reviews comment textarea responsive
1 parent
ef8940ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
15 deletions
components/detail/GuestReviews.js
components/detail/GuestReviews.js
View file @
1a6ce2a
...
...
@@ -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="
20
px
" // 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 == ""}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment