Fix whitespace in client components

This commit is contained in:
Max Leiter 2022-06-01 20:39:07 -07:00
parent 19d5beb562
commit 8606d717aa
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA
4 changed files with 9 additions and 7 deletions

View file

@ -81,7 +81,7 @@ export default defineComponent({
} }
} }
return `${type}: ${props.channel.name}${extra.length ? `(${extra.join(", ")})` : ""}`; return `${type}: ${props.channel.name} ${extra.length ? `(${extra.join(", ")})` : ""}`;
}; };
const click = () => { const click = () => {

View file

@ -102,7 +102,7 @@ export default defineComponent({
}); });
}; };
const containerClick = (event) => { const containerClick = (event: MouseEvent) => {
if (event.currentTarget === event.target) { if (event.currentTarget === event.target) {
close(); close();
} }

View file

@ -17,12 +17,14 @@
aria-hidden="true" aria-hidden="true"
:aria-label="messageTimeLocale" :aria-label="messageTimeLocale"
class="time tooltipped tooltipped-e" class="time tooltipped tooltipped-e"
>{{ messageTime }} >{{ `${messageTime} ` }}
</span> </span>
<template v-if="message.type === 'unhandled'"> <template v-if="message.type === 'unhandled'">
<span class="from">[{{ message.command }}]</span> <span class="from">[{{ message.command }}]</span>
<span class="content"> <span class="content">
<span v-for="(param, id) in message.params" :key="id">{{ param }} </span> <span v-for="(param, id) in message.params" :key="id">{{
`&#32;${param}&#32;`
}}</span>
</span> </span>
</template> </template>
<template v-else-if="isAction()"> <template v-else-if="isAction()">

View file

@ -1,12 +1,12 @@
<template> <template>
<span class="content"> <span class="content">
<Username :user="message.from" /> <Username :user="message.from" />
<i class="hostmask"> (<ParsedMessage :network="network" :text="message.hostmask" />) </i> <i class="hostmask">&#32;(<ParsedMessage :network="network" :text="message.hostmask" />)</i>
<template v-if="message.account"> <template v-if="message.account">
<i class="account">[{{ message.account }}]</i> <i class="account">&#32;[{{ message.account }}]</i>
</template> </template>
<template v-if="message.gecos"> <template v-if="message.gecos">
<i class="realname">{{ message.gecos }}</i> <i class="realname">&#32;({{ message.gecos }})</i>
</template> </template>
has joined the channel has joined the channel
</span> </span>