Fixed layout errors on teacher dashboard