-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Logout button is not styled with django 4.1 #246
Comments
I see it working now 😮 |
Caching? |
Hello Fabio! |
@saymoncoppi clear the cache / force reload |
Nop. still not working. Could you help me? |
@saymoncoppi I'm using this library on more than one project running on latest django version and it works fine. Are you using |
Hello Fabio!
Im also using with another projects but witholder django versions.
For this current project, I'm using the newest libs.
My settings file has these entries:
STATIC_URL = "/static/"
STATIC_ROOT = BASE_DIR / "static"
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static/admin_override")]
Em seg., 28 de ago. de 2023 às 07:35, Fabio Caccamo <
***@***.***> escreveu:
… @saymoncoppi <https://github.com/saymoncoppi> I'm using this library on
more than one project running on latest django version and it works fine.
Are you using STATICFILES_STORAGE =
"django.contrib.staticfiles.storage.ManifestStaticFilesStorage" ?
—
Reply to this email directly, view it on GitHub
<#246 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFIJVQY5D3DZGT7X7V74YNDXXRX7BANCNFSM6AAAAAAUELTYQU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Could you try to set |
Have you the same problem with all browsers? |
The same behavior is happening using Chrome and Edge. I haven't fixed it yet. I´ll try here... |
Hello @fabiocaccamo! I´m just sharing the solution applied here. IDK if is a better one but works fine, ok? I checked out the source code from both projects and made a custom base_site.html mixing with that content to handle this issue. I'm proud of this LOL! Take a look...
Sources: |
Why you have extended the html template to solve a css problem? Have you understood/isolated the cause? |
Hello Fabio! You are right about exploring the reason why I did that. Seems like a bite over to fix a CSS issue. made a css\extra_base_site.css
and apply to template\base_site.html
Got it fixed in a smarter way, tks... But, seems like maybe has another way to fix it, Could you check if the CSS class was missing from: Let me know what you discover, ok? |
This is was what I needed, thank you for investigating the problem, I will enforce the colors using css variables in the next release. #logout-form button {
color: #747474;
}
#logout-form button:hover {
color: #333333;
} |
Great!!! Now I can be proud. lol since I was trying to improve the appearance of userlink block I realised that we could also adjust the CSS of language-selector for a better experience on different media sizes. I´ll open a new issue to share there properly, Tks again! |
Python version
3.11, but irrelevant
Django version
4.1.5
Package version
0.24.2
Current behavior (bug description)
With django 4.1, the logout link in the top bar becomes a form, which is not styled like the other items.
Expected behavior
Should look like the other items 🙂
The text was updated successfully, but these errors were encountered: