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

UI breaks after logging out #81

Open
ghost opened this issue May 8, 2023 · 3 comments
Open

UI breaks after logging out #81

ghost opened this issue May 8, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented May 8, 2023

I have Django 4.2.1 installed and the latest version of Jet installed. I followed the instructions to the letter on read the docs website, but when I go to log out I get a strange UI. The logout message doesn't cover the whole page. The bug only happens when the side menu is open. If the side menu is closed then the log out message covers the whole page as shown by the screenshots below.

Screenshot 2023-05-08 at 23 27 29

Screenshot 2023-05-08 at 23 34 38

@ghost
Copy link
Author

ghost commented May 10, 2023

As a workaround for now until a fix is in place. I have added the following to my project settings.py file.

LOGOUT_REDIRECT_URL = '/admin'

@aksharahegde
Copy link

aksharahegde commented Jun 15, 2023

It's happening because Dark and Light theme switcher has been introduced in Django 4.2 Release Note.
Django Theme switcher is rendering without CSS.

@adrian-mohara
Copy link

+1 @assem-ch you should add this fix

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

2 participants