fix document preview styling and update generated file's name