Explicitly place * on actions in DOM
This commit is contained in:
parent
99cda335ab
commit
7ba14fe4e3
@ -24,7 +24,7 @@
|
||||
<template v-else-if="message.type === 'action'">
|
||||
<span class="from" />
|
||||
<span class="content">
|
||||
<Username :user="message.from" /> <ParsedMessage
|
||||
<span class="only-copy">* </span><Username :user="message.from" /> <ParsedMessage
|
||||
:network="network"
|
||||
:message="message" />
|
||||
<LinkPreview
|
||||
|
@ -229,6 +229,12 @@ kbd {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.only-copy {
|
||||
font-size: 0;
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
|
||||
#viewport .lt::before,
|
||||
|
@ -21,10 +21,6 @@ module.exports = function(chat) {
|
||||
el.text(`<${el.text()}>`);
|
||||
});
|
||||
|
||||
$(documentFragment)
|
||||
.find(".content > .user")
|
||||
.prepend("* ");
|
||||
|
||||
div.id = "js-copy-hack";
|
||||
div.appendChild(documentFragment);
|
||||
chat.appendChild(div);
|
||||
|
Loading…
Reference in New Issue
Block a user