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

[thumbnails] change background-size default value #195

Open
axel7083 opened this issue Aug 3, 2023 · 1 comment
Open

[thumbnails] change background-size default value #195

axel7083 opened this issue Aug 3, 2023 · 1 comment

Comments

@axel7083
Copy link

axel7083 commented Aug 3, 2023

The chonky-fileThumbnail class has the css value background-size set to contain, in some case we might want to have this value set to cover to take the full space available.

However, setting the following css

.chonky-fileThumbnail {
    background-size: cover;
}

Does not seems to work even, when importing after the chunky css.

@axel7083
Copy link
Author

axel7083 commented Aug 3, 2023

The current work around is to use the following css synthax:

.chonky-fileThumbnail {
    background-size: cover !important;
}

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