A few changes to make things less ugly. inline-block needed to only be applied to links.