Sticky element not working in Firefox

I’m having trouble with a sticky element in Firefox. It doesn’t seem to be working at all and I can’t see why. It works fine in Safari and Chrome.

The sidebar and top should be sticky:

See it in Chrome to see it working.

I’d appreciate any help.

I think that Firefox has trouble when using just body. Try using ‘body,html’ so that it works in Firefox too.