mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-08 09:16:45 +02:00
Fix whitespace in client components
This commit is contained in:
parent
19d5beb562
commit
8606d717aa
|
@ -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 = () => {
|
||||
|
|
|
@ -102,7 +102,7 @@ export default defineComponent({
|
|||
});
|
||||
};
|
||||
|
||||
const containerClick = (event) => {
|
||||
const containerClick = (event: MouseEvent) => {
|
||||
if (event.currentTarget === event.target) {
|
||||
close();
|
||||
}
|
||||
|
|
|
@ -17,12 +17,14 @@
|
|||
aria-hidden="true"
|
||||
:aria-label="messageTimeLocale"
|
||||
class="time tooltipped tooltipped-e"
|
||||
>{{ messageTime }}
|
||||
>{{ `${messageTime} ` }}
|
||||
</span>
|
||||
<template v-if="message.type === 'unhandled'">
|
||||
<span class="from">[{{ message.command }}]</span>
|
||||
<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">{{
|
||||
` ${param} `
|
||||
}}</span>
|
||||
</span>
|
||||
</template>
|
||||
<template v-else-if="isAction()">
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<template>
|
||||
<span class="content">
|
||||
<Username :user="message.from" />
|
||||
<i class="hostmask"> (<ParsedMessage :network="network" :text="message.hostmask" />) </i>
|
||||
<i class="hostmask"> (<ParsedMessage :network="network" :text="message.hostmask" />)</i>
|
||||
<template v-if="message.account">
|
||||
<i class="account">[{{ message.account }}]</i>
|
||||
<i class="account"> [{{ message.account }}]</i>
|
||||
</template>
|
||||
<template v-if="message.gecos">
|
||||
<i class="realname">{{ message.gecos }}</i>
|
||||
<i class="realname"> ({{ message.gecos }})</i>
|
||||
</template>
|
||||
has joined the channel
|
||||
</span>
|
||||
|
|
Loading…
Reference in a new issue