File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed
src/components/docFeedback Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -64,22 +64,24 @@ export function DocFeedback({pathname}: Props) {
6464 </ div >
6565 ) : (
6666 < Fragment >
67- < div className = "flex items-center gap-2" >
68- < span className = "text-sm" > Was this helpful?</ span >
69- < button
70- onClick = { ( ) => handleFeedback ( true ) }
71- className = "py-2 px-4 gap-4 hover:bg-[var(--gray-3)] rounded-full flex items-center justify-center"
72- aria-label = "Yes, this was helpful"
73- >
74- Yes 🙂
75- </ button >
76- < button
77- onClick = { ( ) => handleFeedback ( false ) }
78- className = "py-2 px-4 gap-4 hover:bg-[var(--gray-3)] rounded-full flex items-center justify-center"
79- aria-label = "No, this wasn't helpful"
80- >
81- No 🙁
82- </ button >
67+ < div className = "flex items-center gap-4 text-sm mt-8" >
68+ < span className = "font-medium" > Was this helpful?</ span >
69+ < div className = "flex" >
70+ < button
71+ onClick = { ( ) => handleFeedback ( true ) }
72+ className = "py-1 px-2 gap-4 hover:bg-[var(--gray-3)] rounded flex items-center justify-center"
73+ aria-label = "Yes, this was helpful"
74+ >
75+ Yes 👍
76+ </ button >
77+ < button
78+ onClick = { ( ) => handleFeedback ( false ) }
79+ className = "py-1 px-2 gap-4 hover:bg-[var(--gray-3)] rounded flex items-center justify-center"
80+ aria-label = "No, this wasn't helpful"
81+ >
82+ No 👎
83+ </ button >
84+ </ div >
8385 </ div >
8486
8587 < div
You can’t perform that action at this time.
0 commit comments