(Bug 5798) Prevent overflow in the footer when there are no links

Simple pure CSS solution to a minor overflow bug.

Change-Id: I337bab53600efb4cb27b65b01d62f59968a4fba9