Skip to content
Snippets Groups Projects
Commit 28f30021 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent 5b560a5e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment