-
Notifications
You must be signed in to change notification settings - Fork 653
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
Fix custom logo #197
Fix custom logo #197
Conversation
Custom logos are not loading as /-/static/-/logo-sm is not the endpoint it is /-/logo-sm
By adding the second background-image the custom one gets overwritten. I know you were trying to save a network call, but that wont work.
I will fix the tests.... |
Custom logo works fine for me. But it's probably because of The fix isn't entirely correct, because people can override Maybe replacing it with
I believe tests aren't related to the PR, so don't bother. They probably changed something on Travis again. |
So, what if I were to add a baseURL in the config... Also, this resolves setting a custom logo via the config. That was not working as the data-uri over-rode my custom logo. |
So, re-reading your comment I guess we have a different idea of what custom logo is. So, you have provided a way in the config for a user do define a location to a logo. This si the functionality that is not working. It always shows your npm logo. I had found it was due to the data-uri always overriding the background-image: url( /-/logo-sm ); Does this make more sense? |
Okay, I see what you mean. I don't really know why custom logo was added, it came from a pull request 1.5 years ago. Question: does someone really need a custom logo? Maybe remove that option entirely, and let people who want to customize interface to supply a custom template file like it was suggested in #208? |
Yeah either or. I know that our use case wants the support for custom logo. |
@rlidwka Cool, Thanks! |
Allow url_prefix to be only the path
Custom logos are not loading as /-/static/-/logo-sm is not the endpoint it is /-/logo-sm