-
-
Notifications
You must be signed in to change notification settings - Fork 10.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
Change nav bar avatar to background image #4331
Conversation
Labeled as [WIP] because I'd like to know of I've done this right in Ember. |
Sadly, I think you have :D I can't wait for html bars, when we won't need |
{{else}} | ||
<div class="image"><img src="/shared/img/user-image.png" alt="Profile picture" /></div> | ||
<div class="image" style="background-image: ur(/shared/img/user-image.png);"> |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
Refs #4330 - Changes the nav bar avatar from an `<img>` tag to a `background-image`
Code LGTM |
Again, rather not merge something that will need to be reverted later - address in #4333 |
while I agree #4333 is the real solution to this, shouldn't the way it's used in the front end still be consistent? |
Refs #4330
<img>
tag to abackground-image