1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-03 02:53:31 +02:00

Merge branch 'develop' into add-disabled-text

This commit is contained in:
ダーシノ
2019-02-09 10:20:41 +09:00
committed by GitHub
2 changed files with 19 additions and 17 deletions

View File

@@ -16,5 +16,7 @@ stories.add('avatars', () => {
const isRounded = boolean('is-rounded', false) ? 'is-rounded' : '';
const selectedClasses = [isRounded, options].join(' ');
return `<img src="http://www.gravatar.com/avatar" class="nes-avatar ${selectedClasses}">`;
return `<img src="http://www.gravatar.com/avatar?s=15" class="nes-avatar ${selectedClasses}"
alt="Gravatar Image Example"
style="image-rendering: pixelated;">`;
});