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
Branches 4.0.x
No related tags found
1 merge request!9944Issue #3483353: Consider making the createCopy config action optionally fail...
Pipeline #240546 passed
......@@ -287,6 +287,7 @@
`${width}px`;
$container.attr(`data-offset-${Drupal.offCanvas.getEdge()}`, width);
$container.attr('data-offset-top', 0);
displace();
}
......@@ -294,6 +295,7 @@
if (position === 'top') {
mainCanvasWrapper.style.paddingTop = `${height}px`;
$container.attr('data-offset-top', height);
$container.attr(`data-offset-${Drupal.offCanvas.getEdge()}`, 0);
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