fix preview styling