@devchitchat/chat 4.1.0 → 4.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -839,7 +839,6 @@ export default function CallIsland(root) {
|
|
|
839
839
|
picker.onEmojiPickHandler = (e) => {
|
|
840
840
|
const { emoji } = e.detail
|
|
841
841
|
closeEmojiPicker()
|
|
842
|
-
closeReactionContextMenu()
|
|
843
842
|
ws.send({ t: 'reaction.add', body: { msg_id: msgId, channel_id: channelId, emoji } })
|
|
844
843
|
}
|
|
845
844
|
picker.removeEventListener('emoji:pick', picker._boundEmojiPick)
|
|
@@ -887,7 +886,6 @@ export default function CallIsland(root) {
|
|
|
887
886
|
|
|
888
887
|
document.addEventListener('keydown', e => {
|
|
889
888
|
if (e.key === 'Escape') {
|
|
890
|
-
closeReactionContextMenu()
|
|
891
889
|
closeEmojiPicker()
|
|
892
890
|
}
|
|
893
891
|
})
|
|
@@ -547,6 +547,9 @@ details summary {
|
|
|
547
547
|
.message-text h3,.message-text h4 { font-size: 1em; }
|
|
548
548
|
.message-text ul,.message-text ol { margin: 4px 0; padding-left: 1.75em; }
|
|
549
549
|
.message-text li { margin: 2px 0; }
|
|
550
|
+
.message-text .task-list-item { list-style: none; margin-left: -1.25em; }
|
|
551
|
+
.message-text .task-list-item-checkbox { margin-right: 6px; cursor: pointer; vertical-align: middle; position: relative; top: -1px; }
|
|
552
|
+
.message-text .task-list-item:has(.task-list-item-checkbox:checked) { text-decoration: line-through; color: var(--text-muted); }
|
|
550
553
|
.message-text code { font-family: var(--font-mono, monospace); font-size: 0.875em; background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 3px; padding: 1px 4px; }
|
|
551
554
|
.message-text pre { background: var(--bg-input, var(--bg-sidebar)); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 14px; overflow-x: auto; margin: 6px 0; }
|
|
552
555
|
.message-text pre code { background: none; padding: 0; font-size: 0.85em; }
|