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

Images get cropped (too much) on blog articles #163

Open
therealmaxmoon opened this issue Sep 1, 2023 · 0 comments
Open

Images get cropped (too much) on blog articles #163

therealmaxmoon opened this issue Sep 1, 2023 · 0 comments

Comments

@therealmaxmoon
Copy link

The main image of a blog article gets cropped too much so important information are missing.

This is how the image in a blog article looks like (link to the blog):

image

And this is the original image:
original

The first part of the sentence is missing completely and the logo was cut in half.

My temporary fix

I've created custom css, which can be added in the admin panel -> Appearance -> Custom Styles:

.FlarumBlog-Article-Image {
	background-size: contain !important;
}

image

It might not be the best, but I wanted to share it here if others need this fix quickly.

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

No branches or pull requests

1 participant