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