mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-19 14:46:36 +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 = () => {
|
const click = () => {
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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">{{
|
||||||
|
` ${param} `
|
||||||
|
}}</span>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="isAction()">
|
<template v-else-if="isAction()">
|
||||||
|
|
|
@ -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"> (<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"> [{{ message.account }}]</i>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="message.gecos">
|
<template v-if="message.gecos">
|
||||||
<i class="realname">{{ message.gecos }}</i>
|
<i class="realname"> ({{ message.gecos }})</i>
|
||||||
</template>
|
</template>
|
||||||
has joined the channel
|
has joined the channel
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue