-
Notifications
You must be signed in to change notification settings - Fork 54
Fix #13 by inlining base 64 image for secret user #16
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
base: master
Are you sure you want to change the base?
Fix #13 by inlining base 64 image for secret user #16
Conversation
So the whole fa-* doesn't have to be downloaded. This is retina ready, the generated base64 is 24px wide and the `width` attribute is only 12px
benyazi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
| <div class="sudoSu"> | ||
| <div class="sudoSu__btn {{ $hasSudoed ? 'sudoSu__btn--hasSudoed' : '' }}" id="sudosu-js-btn"> | ||
| <i class="fa fa-user-secret" aria-hidden="true"></i> | ||
| <img width="12" height="14" alt="User secret icon" aria-hidden="true" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAABF1BMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////jvJXZAAAAXHRSTlMAAQIDBAYHCAsMDRAUFRcaHB4gIiMkKCkqKy0wNDo8PT4/QUVGSUxQUVRZYmxvcHF3eHt8foKGiIyOj5eYm6Clpqqrrbm6vsDFx8jMzs/V2dze5Obr7e/x9ff7/V2zNpYAAAD5SURBVBgZZcELI8JQGAbgdxsp5prILeS+QhIhJHItISqr9///DjvfdrR4Hmhm3ARik/jnlq1siVzDH0v0dSwMemJgA2FGktpzDH37LkMaSQSMK4Z9p/ErctwunlZab5cn11w0ELLSNAADwAwt9Nl2mgtAfgootW17FNoLyc+dQ77v5ujZg5bigCi0IYY9QjPvSB7U6DmvkNxG4IieVRTJOdzTE4eIUsnDrGdg9Oh5gNikUgPOEhijGIFyQWGi6WCZYhZKnWIiwhtkKbagdCjWE3RRpXCguBQFhxzvUWSgVCley2SBvhSUefq6ZJfiw4KYLn8xpJEbBvAD4nJnwFNQ0yUAAAAASUVORK5CYII=" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The <img> tag is not ending? The last character is "
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking this too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RomainSauvaire Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, I feel stupid. Will fix that.
|
Should be good. Apologize again |
|
@RomainSauvaire no need to apologize, typos happen 😄 |
|
Just to let you know, I've still got this on my to-do list! Super hectic at work. I'll look ASAP, I promise! |
So the whole fa-* doesn't have to be downloaded.
This is retina ready, the generated base64 is 24px wide and the
widthattribute is only 12px