Skip to content

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

UX: Chat more message actions adjustments (#32404)

Jordan Vidrineb888ec07cbe4
diff --git a/app/assets/stylesheets/common/select-kit/select-kit.scss b/app/assets/stylesheets/common/select-kit/select-kit.scss
index 17751653538..173c353d067 100644
--- a/app/assets/stylesheets/common/select-kit/select-kit.scss
+++ b/app/assets/stylesheets/common/select-kit/select-kit.scss
@@ -61,7 +61,8 @@
}
}
- &:not(.composer-actions, .toolbar-popup-menu-options) .select-kit-filter {
+ &:not(.composer-actions, .toolbar-popup-menu-options, .more-actions-chat)
+ .select-kit-filter {
border: 1px solid var(--primary-low);
border-bottom: none;
}
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.gjs
index 59e01ef35b3..d555daaf19f 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.gjs
@@ -183,7 +183,7 @@ export default class ChatMessageActionsDesktop extends Component {
}}
@content={{this.messageInteractor.secondaryActions}}
@onChange={{this.messageInteractor.handleSecondaryActions}}
- class="more-buttons secondary-actions"
+ class="more-buttons secondary-actions more-actions-chat"
/>
{{/if}}
</div>
diff --git a/plugins/chat/assets/stylesheets/common/chat-message-actions.scss b/plugins/chat/assets/stylesheets/common/chat-message-actions.scss
index c6d28d76585..5c52b885d9b 100644
--- a/plugins/chat/assets/stylesheets/common/chat-message-actions.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-message-actions.scss
@@ -107,12 +107,6 @@
}
}
- .select-kit-body {
- padding: 0.5rem;
- box-shadow: var(--shadow-card);
- border: 1px solid var(--primary-300);
- }
-
.select-kit-row {
.texts .name {
font-size: var(--font-0);