diff --git a/CHANGELOG.md b/CHANGELOG.md index 793bf1c..2b967e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 1.6.12 +**2018-02-27** +* Added new default avatar look to Quartz avatars + ### 1.6.11 **2018-02-15** * Fix typo diff --git a/VERSION b/VERSION index 99c026b..9e7398a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.6.11 +1.6.12 diff --git a/dist/component-avatar.css b/dist/component-avatar.css index 69a0637..645a624 100644 --- a/dist/component-avatar.css +++ b/dist/component-avatar.css @@ -142,7 +142,9 @@ .new-avatar.avatar--xxlarge .avatar-img, .new-avatar.avatar--xxlarge .default-avatar { line-height: 100px; } - .avatar .default-avatar, + +.new-avatar { + text-align: center; } .new-avatar .default-avatar { color: #fff; font-weight: bold; } diff --git a/dist/component-avatar.js b/dist/component-avatar.js index cfcb6ff..4a5f56b 100644 --- a/dist/component-avatar.js +++ b/dist/component-avatar.js @@ -2,13 +2,10 @@ vhxm.components.shared.avatar.ui = { view: function view(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 + ')' - } - }) - ]); + 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 + ')' + } + })]); } }; diff --git a/package.json b/package.json index 38765a2..f30572b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vhx/quartz", - "version": "1.6.11", + "version": "1.6.12", "description": "VHX Style Guide and JS Components.", "homepage": "https://github.com/vhx/quartz", "author": "VHX",