Skip to content

Commit ab17818

Browse files
author
Kristan Kenney
committed
Fix scrolling issue in top panel and toolbar
Adjust padding
1 parent 3d72e05 commit ab17818

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

web/css/styles.min.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ a {
11091109
position: fixed;
11101110
background-color: #fff;
11111111
z-index: 100;
1112-
padding-top: 34px;
1112+
padding-top: 36px;
11131113
overflow: hidden;
11141114
text-align: center;
11151115
display: flex;
@@ -1223,6 +1223,7 @@ div.l-content > div.l-separator:nth-of-type(4) {
12231223
background-color: #fff;
12241224
z-index: 120;
12251225
margin-top: 181px;
1226+
height: 44px;
12261227
}
12271228

12281229
.l-sort__create-btn {

web/js/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ hover_menu = function() {
10031003
var st = $(window).scrollTop();
10041004

10051005
if (st <= 112) {
1006-
sep_1.css({'margin-top': 178 - st + 'px'});
1006+
sep_1.css({'margin-top': 180 - st + 'px'});
10071007
sep_2.css({'margin-top': 225 - st + 'px'});
10081008
nav_a.css({'height': 111 - st + 'px'});
10091009
nav_a.css({'min-height': 111 - st + 'px'});
@@ -1033,11 +1033,11 @@ hover_menu = function() {
10331033

10341034
if(st < 109 ){
10351035
nav_a.find('ul').css({'visibility': 'visible'});
1036-
nav_main.css({'padding-top': 34 + 'px'});
1036+
nav_main.css({'padding-top': 36 + 'px'});
10371037
}
10381038

10391039
if (st <= 112 && st > 110 ) {
1040-
nav_main.css({'padding-top': 34 - st + 109 + 'px'});
1040+
nav_main.css({'padding-top': 36 - st + 109 + 'px'});
10411041
}
10421042

10431043
lastScrollTop = st;

0 commit comments

Comments
 (0)