From 027b356fa5eeb792739886c44e55aa4fc6cb6e28 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Wed, 6 Nov 2024 10:31:11 +0100 Subject: [PATCH] style: move a hover effect to image container Signed-off-by: Maksim Sukharev --- .../MessagesGroup/Message/MessagePart/FilePreview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }