From e167b950108eeaa193c61bbf3e78f8c3db77650c Mon Sep 17 00:00:00 2001 From: Anton Arnautov Date: Mon, 26 May 2025 17:14:22 +0200 Subject: [PATCH] Fix message shrinking when MessageActions are open --- src/v2/styles/Message/Message-layout.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/v2/styles/Message/Message-layout.scss b/src/v2/styles/Message/Message-layout.scss index f9b5d24d..1414ef61 100644 --- a/src/v2/styles/Message/Message-layout.scss +++ b/src/v2/styles/Message/Message-layout.scss @@ -313,7 +313,8 @@ .str-chat__virtual-list:not(.str-chat__message-options-in-bubble, .str-chat__message-with-touch-support) { /* This rule won't be applied in browsers that don't support :has() */ .str-chat__li:hover:not(:has(.str-chat__reaction-list:hover, .str-chat__modal--open)), - .str-chat__li:focus-within:not(:has(.str-chat__reaction-list:focus-within, .str-chat__modal--open)) { + .str-chat__li:focus-within:not(:has(.str-chat__reaction-list:focus-within, .str-chat__modal--open)), + .str-chat__li:has(.str-chat__message-options--active) { .str-chat__message-options { display: flex; }