fix: minor fixes

This commit is contained in:
Mohamed Marrouchi 2025-01-09 20:32:51 +01:00
parent 0567804081
commit 1d896830cb
2 changed files with 5 additions and 1 deletions

View File

@ -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(

View File

@ -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;