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

Change nav bar avatar to background image #4331

Closed
wants to merge 1 commit into from
Closed

Change nav bar avatar to background image #4331

wants to merge 1 commit into from

Conversation

PaulAdamDavis
Copy link
Member

Refs #4330

  • Changes the nav bar avatar from an <img> tag to a background-image

@PaulAdamDavis
Copy link
Member Author

Labeled as [WIP] because I'd like to know of I've done this right in Ember.

@novaugust
Copy link
Contributor

Sadly, I think you have :D I can't wait for html bars, when we won't need bind-attr

{{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.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@PaulAdamDavis PaulAdamDavis changed the title [WIP] Change nav bar avatar to background image Change nav bar avatar to background image Oct 27, 2014
Refs #4330

- Changes the nav bar avatar from an `<img>` tag to a `background-image`
@novaugust
Copy link
Contributor

Code LGTM

@JohnONolan
Copy link
Member

Again, rather not merge something that will need to be reverted later - address in #4333

@JohnONolan JohnONolan closed this Oct 27, 2014
@ThisGuyCodes
Copy link

while I agree #4333 is the real solution to this, shouldn't the way it's used in the front end still be consistent?

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

Successfully merging this pull request may close these issues.

5 participants