From 5b444455e404dfbfd0d4f10e138abe907de09d5c Mon Sep 17 00:00:00 2001
From: AlphaX-Projects <77661270+AlphaX-Projects@users.noreply.github.com>
Date: Mon, 24 Jan 2022 15:40:25 +0100
Subject: [PATCH] avatar size
---
.../core/name-registration/name-registration.src.js | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/qortal-ui-plugins/plugins/core/name-registration/name-registration.src.js b/qortal-ui-plugins/plugins/core/name-registration/name-registration.src.js
index 174605ec..39858df9 100644
--- a/qortal-ui-plugins/plugins/core/name-registration/name-registration.src.js
+++ b/qortal-ui-plugins/plugins/core/name-registration/name-registration.src.js
@@ -60,6 +60,14 @@ class NameRegistration extends LitElement {
color:#333;
font-weight: 400;
}
+
+ img {
+ border-radius: 25%;
+ witdh: 100%;
+ max-width: 42px;
+ height: 100%;
+ max-height: 42px;
+ }
`
}
@@ -143,7 +151,7 @@ class NameRegistration extends LitElement {
const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node]
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
const url = `${nodeUrl}/arbitrary/THUMBNAIL/${name}/qortal_avatar?apiKey=${this.getApiKey()}`;
- return html`
`
+ return html`
`
}
renderAvatarButton(nameObj) {