Skip to content

A platform for community discussion. Free, open, simple.

DEV: Change the padding based on the message-actions size (#38351)

Jarek Radosz1e4501a2e20d
diff --git a/plugins/chat/assets/stylesheets/common/chat-message-actions.scss b/plugins/chat/assets/stylesheets/common/chat-message-actions.scss
index f0b85e12a1d..e3361cce84c 100644
--- a/plugins/chat/assets/stylesheets/common/chat-message-actions.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-message-actions.scss
@@ -9,12 +9,19 @@
width: max-content;
top: 0;
left: 0;
- padding-left: 72px !important; /* for easier mouse movement to the element */
z-index: z("composer", "content");
// dynamically overridden by the component
visibility: hidden;
pointer-events: none;
+
+ &.is-size-full {
+ padding-left: 60px !important; /* for easier mouse movement to the element */
+ }
+
+ &.is-size-reduced {
+ padding-left: 20px !important; /* for easier mouse movement to the element */
+ }
}
.chat-message-actions {