Fix layout issue in pdf css