@@ -75,8 +75,8 @@ function FeedbackComponent(props: {
75
75
{ minimisedFirstView && (
76
76
< div
77
77
className = {
78
- "flex flex-col justify-center px-6 border-t border-gray-200 dark:border-gray-800 " +
79
- ( props . isError ? "mt-20" : "py-4 " )
78
+ "flex flex-col justify-center px-6 py-4 border-gray-200 dark:border-gray-800 " +
79
+ ( props . isError ? "mt-20 bg-gray-100 dark:bg-gray-800 rounded-xl " : "border-t " )
80
80
}
81
81
>
82
82
< p
@@ -96,7 +96,9 @@ function FeedbackComponent(props: {
96
96
< div
97
97
className = {
98
98
"flex flex-col px-6 py-4 border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-900 " +
99
- ( props . isError ? "w-96 mt-6 bg-gray-100 dark:bg-gray-800 rounded-xl" : "border-t border-b" )
99
+ ( props . isError
100
+ ? "w-96 mt-6 bg-gray-100 dark:bg-gray-800 rounded-xl"
101
+ : "-mx-6 border-t border-b" )
100
102
}
101
103
>
102
104
< div className = "relative" >
@@ -121,22 +123,22 @@ function FeedbackComponent(props: {
121
123
.
122
124
</ p >
123
125
</ div >
124
- </ div >
125
- < div className = { "flex justify-end mt-6 " + ( props . isError ? "mb-6" : "" ) } >
126
- < button className = "secondary" onClick = { onClose } >
127
- Cancel
128
- </ button >
129
- < button className = "ml-2" onClick = { onSubmit } >
130
- Send Feedback
131
- </ button >
126
+ < div className = "flex justify-end mt-6" >
127
+ < button className = "secondary" onClick = { onClose } >
128
+ Cancel
129
+ </ button >
130
+ < button className = "ml-2" onClick = { onSubmit } >
131
+ Send Feedback
132
+ </ button >
133
+ </ div >
132
134
</ div >
133
135
</ >
134
136
) }
135
137
{ isFeedbackSubmitted && (
136
138
< div
137
139
className = {
138
140
"flex flex-col px-6 py-4 border-gray-200 dark:border-gray-800 " +
139
- ( props . isError ? "mt-20" : "mt-6" )
141
+ ( props . isError ? "mt-20 bg-gray-100 dark:bg-gray-800 rounded-xl " : "mt-6" )
140
142
}
141
143
>
142
144
< p className = { "text-center text-base " + ( props . isError ? "text-gray-400" : "text-gray-500" ) } >
0 commit comments