Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Simplify layers-all height calculation

ZachTRicee0c741acee89
diff --git a/web/js/layers/wv.layers.modal.js b/web/js/layers/wv.layers.modal.js
index c28c9f1be..c2d3d6ddd 100644
--- a/web/js/layers/wv.layers.modal.js
+++ b/web/js/layers/wv.layers.modal.js
@@ -689,7 +689,7 @@ wv.layers.modal = wv.layers.modal || function(models, ui, config) {
var drawAllLayers = function() {
var projection = models.proj.selected.id;
- $( '#layers-all' ).css( 'height', modalHeight - 40 - 30); // 40 is search box height, 30 is breadcrub height
+ $( '#layers-all' ).css( 'height', modalHeight - 70); // 40 search box height + 30 breadcrub height
//Remove perfectScrollbar for the search list window
$('#layer-modal-main').perfectScrollbar('destroy');