diff --git a/bims/static/css/map.css b/bims/static/css/map.css index bbab6907f..fa30d85c2 100755 --- a/bims/static/css/map.css +++ b/bims/static/css/map.css @@ -2950,3 +2950,16 @@ div:hover::-webkit-scrollbar { background-color: rgba(var(--secondary-accent-color), 1); color: white; } + +.btn-wrap { + white-space: normal; + word-wrap: break-word; +} + +.equal-height { + display: flex; + align-items: stretch; +} +.equal-height button { + flex: 1; +} \ No newline at end of file diff --git a/bims/static/js/views/detail_dashboard/site_detail.js b/bims/static/js/views/detail_dashboard/site_detail.js index 08367bf39..dd5fd7157 100644 --- a/bims/static/js/views/detail_dashboard/site_detail.js +++ b/bims/static/js/views/detail_dashboard/site_detail.js @@ -836,6 +836,8 @@ define([ } }); }, false, function () { + button.html('Download checklist'); + button.prop('disabled', false); }) } }, diff --git a/bims/templates/map_page/dashboard-templates.html b/bims/templates/map_page/dashboard-templates.html index 7cacfe2ed..865298363 100644 --- a/bims/templates/map_page/dashboard-templates.html +++ b/bims/templates/map_page/dashboard-templates.html @@ -507,16 +507,16 @@