fix issue with long urls breaking layout