-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VHX-1429: Bugfix/missing avatar styles (#100)
* VHX-1429 : Fixing missing default avatar styles * And adding some generated code * Bumping version and changelog * Forgot the package.json version number * Updating package.lock version
- Loading branch information
1 parent
e4db905
commit 7b3c5a6
Showing
10 changed files
with
139 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.6.12 | ||
1.6.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
vhxm.components.shared.avatar.ui = { | ||
view: function(ctrl, opts) { | ||
return m('span.new-avatar.color-teal.avatar--' + (opts.size ? opts.size : 'medium' ), [ | ||
m('span.default-avatar', opts.initial), | ||
m('span.avatar-user.user-avatar', { | ||
style: { | ||
backgroundImage: 'url(' + opts.image + ')' | ||
} | ||
}) | ||
m('span.avatar-user.user-avatar', [ | ||
m('span.default-avatar', opts.initial), | ||
m('span.avatar-user.user-avatar', { | ||
style: { | ||
backgroundImage: 'url(' + opts.image + ')' | ||
} | ||
}) | ||
]) | ||
]); | ||
} | ||
}; |
Oops, something went wrong.