Don't attempt fancy alignment

main
Bob Mottram 2019-12-17 21:33:30 +00:00
parent 19e080de25
commit 71d5959d46
3 changed files with 2 additions and 6 deletions

View File

@ -76,7 +76,6 @@ a:link {
} }
.pgp { .pgp {
float: left;
font-size: var(--font-size5); font-size: var(--font-size5);
color: var(--main-link-color); color: var(--main-link-color);
font-family: 'monospace'; font-family: 'monospace';

View File

@ -290,7 +290,6 @@ a:link {
} }
.pgp { .pgp {
float: left;
font-size: var(--font-size5); font-size: var(--font-size5);
color: var(--main-link-color); color: var(--main-link-color);
font-family: 'monospace'; font-family: 'monospace';

View File

@ -1551,11 +1551,9 @@ def htmlProfile(defaultTimeline: str, \
donateSection+='<p>'+translate['XMPP']+': '+xmppAddress+'</p>\n' donateSection+='<p>'+translate['XMPP']+': '+xmppAddress+'</p>\n'
if matrixAddress: if matrixAddress:
donateSection+='<p>'+translate['Matrix']+': '+matrixAddress+'</p>\n' donateSection+='<p>'+translate['Matrix']+': '+matrixAddress+'</p>\n'
donateSection+=' </center>\n'
if PGPpubKey: if PGPpubKey:
donateSection+='<div style="text-align: center;">' donateSection+='<p class="pgp">'+translate['PGP']+': '+PGPpubKey.replace('\n','<br>')+'</p>\n'
donateSection+='<p id="pgp">'+translate['PGP']+': '+PGPpubKey.replace('\n','<br>')+'</p>\n' donateSection+=' </center>\n'
donateSection+='</div>'
donateSection+='</div>\n' donateSection+='</div>\n'
if not authorized: if not authorized: