Interactive interface for browsing global, full-resolution satellite imagery
Fix layer list resize bug
Jo Sprague68d0c69ad6ab
diff --git a/web/css/wv.layers.modal.css b/web/css/wv.layers.modal.cssindex 76e8ba7aa..d4cee30bc 100644--- a/web/css/wv.layers.modal.css+++ b/web/css/wv.layers.modal.css@@ -306,6 +306,7 @@#layers-all {padding-right: 10px;+ height: 100%;}#layers-all .layers-all-layer {@@ -319,6 +320,10 @@position: relative;}+#layers-all .layers-all-layer:last-child {+ margin-bottom: 40px;+}+#selected-category .ui-accordion-header {border: 0;position: relative;diff --git a/web/js/layers/wv.layers.modal.js b/web/js/layers/wv.layers.modal.jsindex c2d3d6ddd..cc854fbb4 100644--- a/web/js/layers/wv.layers.modal.js+++ b/web/js/layers/wv.layers.modal.js@@ -688,8 +688,6 @@ wv.layers.modal = wv.layers.modal || function(models, ui, config) {*/var drawAllLayers = function() {var projection = models.proj.selected.id;-- $( '#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');