From be160db13911f25378466349e366aa3adb8c2403 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Wed, 14 Oct 2015 12:43:40 +0200 Subject: [PATCH] Mobile fixes for tooltip --- app/less/app.less | 2 +- app/less/mobile.less | 24 +++++++++++++++++++++--- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/app/less/app.less b/app/less/app.less index db0bbf62..3596cc2b 100644 --- a/app/less/app.less +++ b/app/less/app.less @@ -2488,7 +2488,7 @@ img.img_fullsize { height: 34px; padding: 3px 4px; vertical-align: top; - margin: 4px 2px 0 0; + margin: 4px 0 0 0; } .composer_sticker_image { max-width: 28px; diff --git a/app/less/mobile.less b/app/less/mobile.less index b5e2cdaf..d10b409d 100644 --- a/app/less/mobile.less +++ b/app/less/mobile.less @@ -1427,6 +1427,7 @@ a.im_message_fwd_author { &:before { color: #999; + margin-top: 1px; } } @@ -1442,19 +1443,36 @@ a.im_message_fwd_author { .composer_emoji_tooltip { margin-left: 6px; - margin-top: -230px; + margin-top: -176px; z-index: 10000; } +.composer_emoji_tooltip_tab { + line-height: 15px; + font-size: 11px; +} .composer_emoji_tooltip .scroller_native_scrollable { - height: 140px; + height: 117px; } .composer_emoji_tooltip_tabs_wrap, .composer_emoji_tooltip_tab_emoji_content, .composer_emoji_tooltip_tab_stickers_content { - height: 182px; + height: 147px; +} +.composer_emoji_tooltip_category { + padding-top: 3px; + padding-bottom: 3px; } +.composer_emoji_tooltip_categories { + .composer_emoji_tooltip_tab_stickers_content & { + .composer_sticker_btn { + padding-top: 0; + padding-bottom: 0; + margin: 0; + } + } +} .composer_emoji_tooltip_tail { display: none;