diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue index 69c082a00de..4ecf06b8017 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue @@ -543,7 +543,7 @@ export default { visibility: visible; } - .file-preview__image.media { + .image-container:has(.file-preview__image.media) { outline: 2px solid var(--color-primary-element); } }