diff --git a/app/lib/server/functions/attachMessage.ts b/app/lib/server/functions/attachMessage.ts index da8c500f266b6..d9ee772c4c3dd 100644 --- a/app/lib/server/functions/attachMessage.ts +++ b/app/lib/server/functions/attachMessage.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/camelcase */ import { getUserAvatarURL } from '../../../utils/lib/getUserAvatarURL'; import { roomCoordinator } from '../../../../server/lib/rooms/roomCoordinator'; import { IMessage } from '../../../../definition/IMessage'; @@ -9,8 +10,8 @@ export const attachMessage = function ( room: IRoom, ): { text: string; - authorName?: string; - authorIcon: string; + author_name?: string; + author_icon: string; message_link: string; attachments?: MessageAttachment[]; ts: Date; @@ -24,9 +25,8 @@ export const attachMessage = function ( } = message; return { text: msg, - authorName: username, - authorIcon: getUserAvatarURL(username), - // eslint-disable-next-line @typescript-eslint/camelcase + author_name: username, + author_icon: getUserAvatarURL(username), message_link: `${roomCoordinator.getRouteLink(room.t, room)}?msg=${_id}`, attachments, ts, diff --git a/app/theme/client/imports/general/base_old.css b/app/theme/client/imports/general/base_old.css index cdd661532a27d..c01263d55cf01 100644 --- a/app/theme/client/imports/general/base_old.css +++ b/app/theme/client/imports/general/base_old.css @@ -1732,6 +1732,8 @@ line-height: 24px; &.not { + z-index: 1; + transform: translateY(150%); } diff --git a/app/ui-message/client/message.html b/app/ui-message/client/message.html index 42e545e0bd5dc..01d4c03f6bd93 100644 --- a/app/ui-message/client/message.html +++ b/app/ui-message/client/message.html @@ -1,5 +1,5 @@