Skip to content

Commit

Permalink
fix: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marrouchi committed Jan 9, 2025
1 parent 0567804 commit 1d89683
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions api/src/extensions/channels/web/base-web-channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,10 @@ export default abstract class BaseWebChannelHandler<
const attachment = await this.handleUpload(req, res);
if (attachment) {
event._adapter.attachment = attachment;
event._adapter.raw.data = {
type: Attachment.getTypeByMime(attachment.type),
url: await this.getPublicUrl(attachment),
};
}
} catch (err) {
this.logger.warn(
Expand Down
2 changes: 1 addition & 1 deletion widget/src/components/Suggestions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

.sc-suggestions-element {
margin: 0 0 0 0.25rem;
margin: 0 0 0.25rem 0.25rem;
padding: 0.25rem 0.5rem;
border: 1px solid;
border-radius: 2rem;
Expand Down

0 comments on commit 1d89683

Please sign in to comment.