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::ChatThreadListItem />
|
||||||
<Styleguide::ChatComposerMessageDetails />
|
<Styleguide::ChatComposerMessageDetails />
|
||||||
<Styleguide::ChatHeaderIcon />
|
<Styleguide::ChatHeaderIcon />
|
||||||
<Styleguide::ChatMessageMentionWarning />
|
|
||||||
|
|
||||||
<h2>Modals</h2>
|
<h2>Modals</h2>
|
||||||
|
|
||||||
|
|
|
@ -115,6 +115,11 @@ export default class ChatMessage {
|
||||||
}
|
}
|
||||||
|
|
||||||
set thread(thread) {
|
set thread(thread) {
|
||||||
|
if (!thread) {
|
||||||
|
this._thread = null;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this._thread = this.channel.threadsManager.add(this.channel, thread, {
|
this._thread = this.channel.threadsManager.add(this.channel, thread, {
|
||||||
replace: true,
|
replace: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -177,6 +177,7 @@
|
||||||
|
|
||||||
.chat-message-container {
|
.chat-message-container {
|
||||||
background-color: var(--d-content-background, var(--secondary));
|
background-color: var(--d-content-background, var(--secondary));
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
&.-errored {
|
&.-errored {
|
||||||
color: var(--primary-medium);
|
color: var(--primary-medium);
|
||||||
|
|
Loading…
Reference in New Issue