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