Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Generate preview with proper aspect ratio for templates #4386

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Jan 14, 2025

Steps to reproduce:

  • Select a user template folder in richdocuments settings
  • Add a template
  • Open the template picker

Before this change we injected a square preview that looked odd in the tempalte picker with others coming from the server template directory having the aspect ratio of the document.

@juliusknorr
Copy link
Member Author

Not sure why psalm just fails now, but it is due to wrong phpdoc in server: nextcloud/server#50196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant