Fix overflowing styles on xApi pages