File tree Expand file tree Collapse file tree 1 file changed +13
-19
lines changed
src/components/FeedbackWidget Expand file tree Collapse file tree 1 file changed +13
-19
lines changed Original file line number Diff line number Diff line change 9
9
AlertDialogOverlay ,
10
10
Box ,
11
11
Button ,
12
+ HStack ,
12
13
} from "@chakra-ui/react"
13
14
14
15
import FixedDot from "./FixedDot"
@@ -50,33 +51,26 @@ const FeedbackWidget = () => {
50
51
m = "auto"
51
52
alignItems = "flex-end"
52
53
backgroundColor = "transparent"
53
- boxShadow = "tableItemBox"
54
54
me = { 24 }
55
55
bottom = { { base : `${ bottomOffset + 5 } rem` , lg : 20 } }
56
56
data-testid = "feedback-widget-modal"
57
+ padding = { 0 }
57
58
>
58
59
< Box
59
- w = "min(300px , calc(100% - 1rem))"
60
+ w = "min(350px , calc(100% - 1rem))"
60
61
mx = "2"
61
- bgColor = "ednBackground"
62
- border = "1px"
63
- borderColor = "background.base"
62
+ bg = "background.base"
64
63
borderRadius = "base"
65
- py = "4"
66
- px = "2"
64
+ padding = { { base : "4" , sm : "8" } }
67
65
>
68
- < AlertDialogCloseButton />
69
-
70
- < AlertDialogHeader
71
- fontSize = "xl"
72
- fontWeight = "bold"
73
- lineHeight = "6"
74
- textAlign = "center"
75
- >
76
- { feedbackSubmitted
77
- ? t ( "feedback-widget-thank-you-title" )
78
- : t ( "feedback-widget-prompt" ) }
79
- </ AlertDialogHeader >
66
+ < HStack >
67
+ < AlertDialogHeader fontSize = "xl" fontWeight = "bold" me = "0" >
68
+ { feedbackSubmitted
69
+ ? t ( "feedback-widget-thank-you-title" )
70
+ : t ( "feedback-widget-prompt" ) }
71
+ </ AlertDialogHeader >
72
+ < AlertDialogCloseButton alignSelf = "start" />
73
+ </ HStack >
80
74
81
75
{ /* Body: */ }
82
76
{ feedbackSubmitted && (
You can’t perform that action at this time.
0 commit comments