Use qrcode image rather than emoji

Emoji is too small to select
main
Bob Mottram 2020-06-21 16:36:17 +00:00
parent 117b231230
commit acf3db0197
10 changed files with 9 additions and 1 deletions

View File

@ -205,6 +205,12 @@ a:link {
min-width: 200px;
}
.hero-text img.qrcode {
border-radius: 1%;
width: 10%;
min-width: 20px;
}
.hero-text img.emoji {
width: 50px;
padding: 0 0;

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -2560,10 +2560,12 @@ def htmlProfile(defaultTimeline: str,
'" title="' + avatarDescription + '" alt="' + \
avatarDescription + '" class="title">'
profileHeaderStr += ' <h1>' + displayName + '</h1>'
iconsDir = getIconsDir(baseDir)
profileHeaderStr += \
' <p><b>@' + nickname + '@' + domainFull + \
'</b> <a href="/users/' + nickname + \
'/qrcode.png" alt="QR Code" title="QR Code">📱</a></p>'
'/qrcode.png" alt="QR Code" title="QR Code">' + \
'<img class="qrcode" src="' + iconsDir + '/qrcode.png" /></a></p>'
profileHeaderStr += ' <p>' + profileDescriptionShort + '</p>'
profileHeaderStr += loginButton
profileHeaderStr += ' </div>'