Layout templates should limit header width

This was added to fix minor flashing issues because the #dashboard
element wasn't wide enough for its children elements and they were
being repositioned during repaints. It ensures the visible width is
correct so the API Url doesn't disappear offscreen as well.