From bc7b17a64c8e995952fb6579ec577167453022ef Mon Sep 17 00:00:00 2001 From: Matt Gilman Date: Wed, 8 Feb 2017 10:31:34 -0500 Subject: [PATCH] NIFI-3291: - Fixing slider issue when there is only one event in the lineage graph. - Fixing scollbar issue when accessing the queue listing. --- .../nifi-web-ui/src/main/webapp/css/queue-listing.css | 4 ++++ .../src/main/webapp/js/nf/provenance/nf-provenance-lineage.js | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/queue-listing.css b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/queue-listing.css index 92d9997a59..2fbfabea12 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/queue-listing.css +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/queue-listing.css @@ -70,6 +70,10 @@ min-height: 150px; } +#queue-listing-table div.slick-viewport { + overflow-x: hidden !important; +} + /* queue listing table */ #queue-listing-message { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/provenance/nf-provenance-lineage.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/provenance/nf-provenance-lineage.js index d9586e9d4a..0b4ad9556e 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/provenance/nf-provenance-lineage.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/provenance/nf-provenance-lineage.js @@ -665,10 +665,6 @@ // set up a slider for the showing the timeline of events var slider = $('#provenance-lineage-slider').slider({ - min: minMillis, - max: maxMillis, - step: (maxMillis - minMillis) / config.sliderTickCount, - value: maxMillis, change: slide, slide: slide });