Remove extra .text span as its no longer needed

This commit is contained in:
Pavel Djundik 2018-09-25 15:09:47 +03:00
parent 4d400b6ace
commit 6d1d2e006a
9 changed files with 18 additions and 11 deletions

View File

@ -24,9 +24,9 @@
<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">
<span class="text"><Username :user="message.from" /> <ParsedMessage <Username :user="message.from" /> <ParsedMessage
:network="network" :network="network"
:message="message" /></span> :message="message" />
<LinkPreview <LinkPreview
v-for="preview in message.previews" v-for="preview in message.previews"
:key="preview.link" :key="preview.link"
@ -41,9 +41,9 @@
</template> </template>
</span> </span>
<span class="content"> <span class="content">
<span class="text"><ParsedMessage <ParsedMessage
:network="network" :network="network"
:message="message" /></span> :message="message" />
<LinkPreview <LinkPreview
v-for="preview in message.previews" v-for="preview in message.previews"
:key="preview.link" :key="preview.link"

View File

@ -16,6 +16,7 @@ export default {
Username, Username,
}, },
props: { props: {
network: Object,
message: Object, message: Object,
}, },
}; };

View File

@ -16,6 +16,7 @@ export default {
Username, Username,
}, },
props: { props: {
network: Object,
message: Object, message: Object,
}, },
}; };

View File

@ -17,6 +17,7 @@ export default {
Username, Username,
}, },
props: { props: {
network: Object,
message: Object, message: Object,
}, },
}; };

View File

@ -15,6 +15,7 @@ export default {
Username, Username,
}, },
props: { props: {
network: Object,
message: Object, message: Object,
}, },
}; };

View File

@ -17,6 +17,7 @@ export default {
Username, Username,
}, },
props: { props: {
network: Object,
message: Object, message: Object,
}, },
}; };

View File

@ -15,6 +15,7 @@ export default {
Username, Username,
}, },
props: { props: {
network: Object,
message: Object, message: Object,
}, },
}; };

View File

@ -15,6 +15,7 @@ export default {
Username, Username,
}, },
props: { props: {
network: Object,
message: Object, message: Object,
}, },
}; };

View File

@ -1292,7 +1292,7 @@ background on hover (unless active) */
#chat.colored-nicks .user.color-31 { color: #eb0400; } #chat.colored-nicks .user.color-31 { color: #eb0400; }
#chat.colored-nicks .user.color-32 { color: #e60082; } #chat.colored-nicks .user.color-32 { color: #e60082; }
#chat .self .text { #chat .self .content {
color: var(--body-color-muted); color: var(--body-color-muted);
} }
@ -1370,13 +1370,13 @@ background on hover (unless active) */
} }
#chat .action .from, #chat .action .from,
#chat .action .text, #chat .action .content,
#chat .action .user { #chat .action .user {
color: #f39c12; color: #f39c12;
} }
#chat .notice .time, #chat .notice .time,
#chat .notice .text, #chat .notice .content,
#chat .chan .notice .user { #chat .chan .notice .user {
color: #0074d9 !important; color: #0074d9 !important;
} }
@ -2640,14 +2640,14 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
For example: user has quit ( ===> L O L <=== ) */ For example: user has quit ( ===> L O L <=== ) */
#windows .header .topic, #windows .header .topic,
#chat .message .text, #chat .message .content,
#chat .motd .text, #chat .motd .content,
#chat .notice .text, #chat .notice .content,
#chat .ctcp-message, #chat .ctcp-message,
#chat .part-reason, #chat .part-reason,
#chat .quit-reason, #chat .quit-reason,
#chat .new-topic, #chat .new-topic,
#chat .action .text, #chat .action .content,
#chat table.channel-list .topic { #chat table.channel-list .topic {
white-space: pre-wrap; white-space: pre-wrap;
} }