-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[BUG] Custom CSS styles not activating until 'type="text/css"' is added to corresponding link in HTML head #560
Comments
Yes, absolutely I can add that |
Docker compose, under volumes: In conf.yml: Every time I've tried to use |
Thanks, that's helpful - I'd totally forgotten ever building that bit 🤣 |
Merged in #557 :) |
@Lissy93 |
Environment
Self-Hosted (Docker)
Version
2.0.4
Describe the problem
I had finally gotten the CSS to not throw a 404, but for the life of me I could not get my styles to show up.
UNTIL I changed one thing (using devtools):
How the custom CSS loads in:
<link rel="stylesheet" href="/assets/dashycsstweaks.css">
What I needed to do to activate my CSS:
<link rel="stylesheet" type="text/css" href="/assets/dashycsstweaks.css">
I was previously upping the CSS specificity to disgusting levels to no avail:
Would it be possible to add the
type="text/css"
part to the generated link when the app is built?Additional info
No response
Please tick the boxes
The text was updated successfully, but these errors were encountered: