Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit be160db

Browse files
committed
Mobile fixes for tooltip
1 parent a7eaf37 commit be160db

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

app/less/app.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2488,7 +2488,7 @@ img.img_fullsize {
24882488
height: 34px;
24892489
padding: 3px 4px;
24902490
vertical-align: top;
2491-
margin: 4px 2px 0 0;
2491+
margin: 4px 0 0 0;
24922492
}
24932493
.composer_sticker_image {
24942494
max-width: 28px;

app/less/mobile.less

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,6 +1427,7 @@ a.im_message_fwd_author {
14271427

14281428
&:before {
14291429
color: #999;
1430+
margin-top: 1px;
14301431
}
14311432
}
14321433

@@ -1442,19 +1443,36 @@ a.im_message_fwd_author {
14421443

14431444
.composer_emoji_tooltip {
14441445
margin-left: 6px;
1445-
margin-top: -230px;
1446+
margin-top: -176px;
14461447
z-index: 10000;
14471448
}
1449+
.composer_emoji_tooltip_tab {
1450+
line-height: 15px;
1451+
font-size: 11px;
1452+
}
14481453

14491454
.composer_emoji_tooltip .scroller_native_scrollable {
1450-
height: 140px;
1455+
height: 117px;
14511456
}
14521457
.composer_emoji_tooltip_tabs_wrap,
14531458
.composer_emoji_tooltip_tab_emoji_content,
14541459
.composer_emoji_tooltip_tab_stickers_content {
1455-
height: 182px;
1460+
height: 147px;
1461+
}
1462+
.composer_emoji_tooltip_category {
1463+
padding-top: 3px;
1464+
padding-bottom: 3px;
14561465
}
14571466

1467+
.composer_emoji_tooltip_categories {
1468+
.composer_emoji_tooltip_tab_stickers_content & {
1469+
.composer_sticker_btn {
1470+
padding-top: 0;
1471+
padding-bottom: 0;
1472+
margin: 0;
1473+
}
1474+
}
1475+
}
14581476

14591477
.composer_emoji_tooltip_tail {
14601478
display: none;

0 commit comments

Comments
 (0)