Skip to content
代码片段 群组 项目
未验证 提交 deb9fb96 编辑于 作者: Phil Hughes's avatar Phil Hughes 提交者: GitLab
浏览文件

Merge branch 'fix-emoji-picker-16-02' into 'master'

Emoji picker: Remove bounce effect from Emoji :hover state

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144977



Merged-by: default avatarPhil Hughes <me@iamphill.com>
Approved-by: default avatarAndré Luís <aluis@gitlab.com>
Approved-by: default avatarPhil Hughes <me@iamphill.com>
Approved-by: default avatarSascha Eggenberger <seggenberger@gitlab.com>
Reviewed-by: default avatarAndré Luís <aluis@gitlab.com>
Co-authored-by: default avatarJulia Miocene <jmiocene@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -42,10 +42,8 @@ export default {
</script>
<template>
<gl-intersection-observer class="gl-px-5 gl-h-full" @appear="categoryAppeared">
<div
class="gl-top-0 gl-py-3 gl-w-full gl-z-index-1 gl-font-sm gl-ml-n2 emoji-picker-category-header"
>
<gl-intersection-observer class="gl-px-4 gl-h-full" @appear="categoryAppeared">
<div class="gl-top-0 gl-py-3 gl-w-full gl-z-index-1 gl-font-sm emoji-picker-category-header">
<b>{{ categoryTitle }}</b>
</div>
<template v-if="emojis.length">
......
......@@ -34,14 +34,10 @@ gl-emoji {
height: 30px;
// Create a width that fits 9 emojis per row
width: 100 / 9 * 1%;
transition: transform 0.15s cubic-bezier(0.3, 0, 0.2, 2) !important;
transform: scale(1) !important;
mix-blend-mode: normal !important;
&:hover,
&:focus {
z-index: 2;
transform: scale(1.3) !important;
gl-emoji {
font-size: 1.2rem !important;
}
gl-emoji img {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册