mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 11:51:05 -05:00
Merge pull request #2573 from alphagov/fix-sticky-shim
Fix sticky shim having zero height
This commit is contained in:
@@ -235,7 +235,7 @@
|
||||
return windowTop > el.scrolledTo;
|
||||
};
|
||||
stickAtTop.addShimForEl = function ($el, width, height) {
|
||||
$el.before('<div class="shim" style="width: ' + width + 'px height: ' + height + 'px"> </div>');
|
||||
$el.before('<div class="shim" style="width: ' + width + 'px; height: ' + height + 'px"> </div>');
|
||||
};
|
||||
stickAtTop.stop = function (el) {
|
||||
if (!el.stopped()) {
|
||||
|
||||
Reference in New Issue
Block a user