Fix results pdf layout