File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
packages/uiweb/src/lib/components/chat Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,17 @@ export const ImageCard = ({
55
55
< Section
56
56
maxWidth = { previewMode ? 'auto' : '512px' }
57
57
width = "fill-available"
58
- justifyContent = "flex-start "
58
+ justifyContent = "space-between "
59
59
background = { previewMode ? 'transparent' : background }
60
60
color = { color }
61
61
gap = "0px"
62
62
>
63
+ { previewMode && (
64
+ < Section margin = "8px" alignSelf = 'center' >
65
+ < Tag type = "Image" />
66
+ </ Section >
67
+ ) }
68
+
63
69
< Section
64
70
background = "white"
65
71
borderRadius = "12px"
@@ -75,11 +81,7 @@ export const ImageCard = ({
75
81
/>
76
82
</ Section >
77
83
78
- { previewMode && (
79
- < Section margin = "8px 0px 0px 0px" >
80
- < Tag type = "Image" />
81
- </ Section >
82
- ) }
84
+
83
85
</ Section >
84
86
) ;
85
87
} ;
Original file line number Diff line number Diff line change @@ -157,7 +157,6 @@ export const ReplyCard = ({
157
157
fontSize = "10px"
158
158
color = { theme . textColor ?. chatSentBubbleText }
159
159
>
160
- { `Replied to ` }
161
160
< Span
162
161
fontWeight = "500"
163
162
padding = "0px"
Original file line number Diff line number Diff line change @@ -592,7 +592,7 @@ export const MessageInput: React.FC<MessageInputProps> = ({
592
592
fontSize = "10px"
593
593
color = { theme . iconColor ?. emoji }
594
594
>
595
- { `Replying to ` }
595
+ { `Reply to ` }
596
596
< Span
597
597
fontWeight = "500"
598
598
padding = "0px"
@@ -751,7 +751,7 @@ export const MessageInput: React.FC<MessageInputProps> = ({
751
751
) ;
752
752
} ;
753
753
754
- const TypebarSection = styled ( Section ) < { border ?: string } > `
754
+ const TypebarSection = styled ( Section ) < { border ?: string } > `
755
755
// gap: 10px;
756
756
border: ${ ( props ) => props . border || 'none' } ;
757
757
@media ${ device . mobileL } {
You can’t perform that action at this time.
0 commit comments