Footnotes: Adjusted SCSS to accommodate lists/tables within footnotes.

Fixes #6157.