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

Commit 3c3de23

Browse files
committed
Improved bottom panel styles
1 parent 191d751 commit 3c3de23

File tree

4 files changed

+10
-15
lines changed

4 files changed

+10
-15
lines changed

app/css/app.css

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2363,17 +2363,6 @@ img.chat_modal_participant_photo {
23632363

23642364

23652365
/* Messages edit panel */
2366-
.im_edit_panel_border {
2367-
display: block;
2368-
margin: 0 0 34px 3px;
2369-
border-bottom: 1px solid #EEE;
2370-
}
2371-
.im_panel_to_top .im_edit_panel_wrap {
2372-
background: #FFF;
2373-
position: absolute;
2374-
width: 100%;
2375-
}
2376-
23772366
.im_edit_selected_actions {
23782367
text-align: center;
23792368
}

app/css/desktop.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,8 @@ a.footer_link.active:active {
535535
.im_history_typing_wrap {
536536
line-height: 18px;
537537
width: 100%;
538-
height: 49px;
539-
padding: 13px 0 18px;
538+
height: 39px;
539+
padding: 13px 0 8px;
540540
overflow: hidden;
541541
-webkit-user-select: none;
542542
}
@@ -607,9 +607,14 @@ a.footer_link.active:active {
607607
}
608608

609609
.im_edit_panel_wrap {
610-
padding: 15px 0 38px;
610+
padding: 0px 0 38px;
611611
margin: 0 24px 0 12px;
612612
}
613+
.im_edit_panel_border {
614+
display: block;
615+
margin: 0 0 49px 3px;
616+
border-bottom: 1px solid #EEE;
617+
}
613618
.im_edit_flush_link,
614619
.im_edit_cancel_link {
615620
display: block;

app/css/mobile.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ html {
2929
margin: 0;
3030
}
3131
.tg_page_head .navbar-inverse {
32+
background: #5682a3;
3233
border: 0;
3334

3435
-webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.11);

app/js/directives.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ angular.module('myApp.directives', ['myApp.filters'])
10341034
var marginTop = scrollableWrap.offsetHeight
10351035
- historyMessagesEl.offsetHeight
10361036
- 20
1037-
- (Config.Mobile ? 0 : 49);
1037+
- (Config.Mobile ? 0 : 39);
10381038

10391039
if (historyMessagesEl.offsetHeight > 0 && marginTop > 0) {
10401040
$(historyMessagesEl).css({marginTop: marginTop});

0 commit comments

Comments
 (0)