mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 10:25:32 +08:00
FIX: minor chat styleguide fixes (#23849)
- makes message take full width - allows to remove the thread state - removes non-existing component (mention warning)
This commit is contained in:
parent
fcc9d99ba2
commit
245e9f30a4
|
@ -3,7 +3,6 @@
|
|||
<Styleguide::ChatThreadListItem />
|
||||
<Styleguide::ChatComposerMessageDetails />
|
||||
<Styleguide::ChatHeaderIcon />
|
||||
<Styleguide::ChatMessageMentionWarning />
|
||||
|
||||
<h2>Modals</h2>
|
||||
|
||||
|
|
|
@ -115,6 +115,11 @@ export default class ChatMessage {
|
|||
}
|
||||
|
||||
set thread(thread) {
|
||||
if (!thread) {
|
||||
this._thread = null;
|
||||
return;
|
||||
}
|
||||
|
||||
this._thread = this.channel.threadsManager.add(this.channel, thread, {
|
||||
replace: true,
|
||||
});
|
||||
|
|
|
@ -177,6 +177,7 @@
|
|||
|
||||
.chat-message-container {
|
||||
background-color: var(--d-content-background, var(--secondary));
|
||||
width: 100%;
|
||||
|
||||
&.-errored {
|
||||
color: var(--primary-medium);
|
||||
|
|
Loading…
Reference in New Issue
Block a user