Merged PR 3080: fix firefox bugs
fix firefox bugs, reported in github issue https://github.com/microsoft/coyote/issues/52
This commit is contained in:
Родитель
cbffaae78b
Коммит
c5e3881c05
|
@ -446,12 +446,14 @@
|
|||
@include screen(lg, min) {
|
||||
width: 300px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 300;
|
||||
}
|
||||
|
||||
@media (min-width: $breakpoint-sm) and (max-width: $breakpoint-lg) {
|
||||
width: 27%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 300;
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ function handle_resize()
|
|||
var search_top = $(".search-wrapper").offset().top;
|
||||
var search_offset = search_top - window.scrollY;
|
||||
var top = wrapper.offset().top;
|
||||
var search_height = search_offset + top - search_top;
|
||||
var search_height = search_offset + top - search_top + 100;
|
||||
var scroller_height = height - search_height;
|
||||
wrapper.height(scroller_height);
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче