Merge pull request #3730 from thelounge/xpaw/user-search-fixes

Small fixes to user list search
This commit is contained in:
Richard Lewis 2020-02-10 16:34:41 +02:00 committed by GitHub
commit 1bdeae2b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@
{active: id === activeItem},
]"
role="menuitem"
@mouseover="hoverItem(id)"
@mouseenter="hoverItem(id)"
@click="clickItem(item)"
>
{{ item.label }}

View File

@ -3,7 +3,7 @@
:class="['user', nickColor, {active: active}]"
:data-name="user.nick"
role="button"
v-on="onHover ? {mouseover: hover} : {}"
v-on="onHover ? {mouseenter: hover} : {}"
@click.prevent="openContextMenu"
@contextmenu.prevent="openContextMenu"
><slot>{{ user.mode }}{{ user.nick }}</slot></span

View File

@ -1666,6 +1666,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
font: inherit;
outline: 0;
padding: 13px;
padding-right: 30px;
width: 100%;
}