Skip to content
Snippets Groups Projects
Verified Commit 14e9234d authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3363127 by nod_, Gábor Hojtsy, mherchel: Drupal Displace outputs...

Issue #3363127 by nod_, Gábor Hojtsy, mherchel: Drupal Displace outputs invalid value for --drupal-displace-offset-right when opening top dialog

(cherry picked from commit 3401675c)
parent a8ea546d
No related branches found
No related tags found
3 merge requests!11769Issue #3517987: Add option to contextual filters to encode slashes in query parameter.,!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...
Pipeline #240546 passed
...@@ -287,6 +287,7 @@ ...@@ -287,6 +287,7 @@
`${width}px`; `${width}px`;
$container.attr(`data-offset-${Drupal.offCanvas.getEdge()}`, width); $container.attr(`data-offset-${Drupal.offCanvas.getEdge()}`, width);
$container.attr('data-offset-top', 0);
displace(); displace();
} }
...@@ -294,6 +295,7 @@ ...@@ -294,6 +295,7 @@
if (position === 'top') { if (position === 'top') {
mainCanvasWrapper.style.paddingTop = `${height}px`; mainCanvasWrapper.style.paddingTop = `${height}px`;
$container.attr('data-offset-top', height); $container.attr('data-offset-top', height);
$container.attr(`data-offset-${Drupal.offCanvas.getEdge()}`, 0);
displace(); displace();
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment