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

Using django-compresor with bootstrap 5 #1118

Open
yesyves opened this issue May 28, 2022 · 0 comments
Open

Using django-compresor with bootstrap 5 #1118

yesyves opened this issue May 28, 2022 · 0 comments

Comments

@yesyves
Copy link

yesyves commented May 28, 2022

Hi

I had to remove bootstrap css from my compressed files because it breaks BS5's icons (the down arrow tip included in dropdown menus in my case).

Capture d’écran 2022-05-28 à 11 34 48

Here is my configuration, pretty much the default (do I even need to declare it ?) :

COMPRESS_ENABLED = True
COMPRESS_OFFLINE = True
COMPRESS_OFFLINE_CONTEXT = 'config.views.offline_context'
COMPRESS_FILTERS = {
    'css': ['compressor.filters.css_default.CssAbsoluteFilter',
            'compressor.filters.cssmin.rCSSMinFilter'],
    'js': ['compressor.filters.jsmin.JSMinFilter']
}

Thanks for any help with that !

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