Fixed layout errors in base.html