Skip to content

[6.x] Add horizontal padding around PDF viewer pages#14765

Closed
daun wants to merge 1 commit into
statamic:6.xfrom
daun:feature/pdf-viewer-display
Closed

[6.x] Add horizontal padding around PDF viewer pages#14765
daun wants to merge 1 commit into
statamic:6.xfrom
daun:feature/pdf-viewer-display

Conversation

@daun

@daun daun commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Add some horizontal padding around PDF viewer pages. Mostly applies on smaller screen sizes, largers screens would naturally limit the width to the canvas' intrinsic size.

Before

statamic-v6 test_cp_assets_browse_assets_die-leiden-des-jungen-werther pdf_edit (2)

After

statamic-v6 test_cp_assets_browse_assets_die-leiden-des-jungen-werther pdf_edit (1)

@jasonvarga

jasonvarga commented Jun 2, 2026

Copy link
Copy Markdown
Member

Thanks but I don't see the benefit of this. You just get less space to view your PDF now. The padding is unnecessary.

@jasonvarga jasonvarga closed this Jun 2, 2026
@daun

daun commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

@jasonvarga Wouldn't the same logic apply to images and videos? They have a p-8 padding applied now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants