Commit 28f30021 authored by alexpott's avatar alexpott
Browse files

Issue #2137849 by MartiMcFlight, m4olivei, jmuzz: No scrollbar in views style option popup

parent 5b560a5e
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
var $scroll = $modal.find('[data-drupal-views-scroll]'); var $scroll = $modal.find('[data-drupal-views-scroll]');
var offset = 0; var offset = 0;
var modalHeight; var modalHeight;
if ($viewsOverride.length && $scroll.length) { if ($scroll.length) {
// Add a class to do some styles adjustments. // Add a class to do some styles adjustments.
$modal.closest('.views-ui-dialog').addClass('views-ui-dialog-scroll'); $modal.closest('.views-ui-dialog').addClass('views-ui-dialog-scroll');
// Let scroll element take all the height available. // Let scroll element take all the height available.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment