fix: 移除 chat-mention 换行支持

This commit is contained in:
CrescentLeaf
2025-11-17 00:07:15 +08:00
parent 51fbdc0f71
commit 6517b04215

View File

@@ -14,7 +14,6 @@ customElements.define('chat-mention', class extends HTMLElement {
const shadow = this.shadowRoot as ShadowRoot
this.span = document.createElement('span')
this.span.style.whiteSpace = 'pre-wrap'
this.span.style.fontSynthesis = 'style weight'
this.span.style.color = 'rgb(var(--mdui-color-primary))'
shadow.appendChild(this.span)