Show an icon for "show in active" messages
This commit is contained in:
parent
b93cae2e01
commit
5c64eaf41e
@ -58,6 +58,12 @@
|
|||||||
</template>
|
</template>
|
||||||
</span>
|
</span>
|
||||||
<span class="content" dir="auto">
|
<span class="content" dir="auto">
|
||||||
|
<span
|
||||||
|
v-if="message.showInActive"
|
||||||
|
aria-label="This message was shown in your active channel"
|
||||||
|
class="msg-shown-in-active tooltipped tooltipped-e"
|
||||||
|
><span></span
|
||||||
|
></span>
|
||||||
<ParsedMessage :network="network" :message="message" />
|
<ParsedMessage :network="network" :message="message" />
|
||||||
<LinkPreview
|
<LinkPreview
|
||||||
v-for="preview in message.previews"
|
v-for="preview in message.previews"
|
||||||
|
@ -309,6 +309,7 @@ p {
|
|||||||
#chat .msg[data-type="action"] .from::before,
|
#chat .msg[data-type="action"] .from::before,
|
||||||
#chat .msg[data-type="plugin"] .from::before,
|
#chat .msg[data-type="plugin"] .from::before,
|
||||||
#chat .msg[data-type="raw"] .from::before,
|
#chat .msg[data-type="raw"] .from::before,
|
||||||
|
#chat .msg-shown-in-active span::before,
|
||||||
#chat .toggle-button::after,
|
#chat .toggle-button::after,
|
||||||
#chat .toggle-content .more-caret::before,
|
#chat .toggle-content .more-caret::before,
|
||||||
#chat .scroll-down-arrow::after,
|
#chat .scroll-down-arrow::after,
|
||||||
@ -486,6 +487,16 @@ p {
|
|||||||
padding: 1px;
|
padding: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#chat .msg-shown-in-active {
|
||||||
|
cursor: help;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#chat .msg-shown-in-active span::before {
|
||||||
|
font-size: 10px;
|
||||||
|
content: "\f06e"; /* https://fontawesome.com/icons/eye?style=solid */
|
||||||
|
}
|
||||||
|
|
||||||
#chat .toggle-button {
|
#chat .toggle-button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
transition: opacity 0.2s, transform 0.2s;
|
transition: opacity 0.2s, transform 0.2s;
|
||||||
|
Loading…
Reference in New Issue
Block a user