4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

make name selectable

This commit is contained in:
PhilReact 2023-10-12 22:51:54 -05:00
parent 8cb7f4cc72
commit 1022fa971a
2 changed files with 5 additions and 6 deletions

View File

@ -8,7 +8,6 @@ font-size: 28px;
color: var(--chat-bubble-msg-color);
margin-bottom: 10px;
padding: 10px 0;
user-select: none;
}
.avatar-container {

View File

@ -1,14 +1,11 @@
import { LitElement, html } from 'lit'
import { render } from 'lit/html.js'
import { use, get, translate, translateUnsafeHTML, registerTranslateConfig } from 'lit-translate'
import { translate } from 'lit-translate'
import { userInfoStyles } from './UserInfo-css.js'
import { Epml } from '../../../../epml'
import { cropAddress } from '../../../utils/cropAddress.js'
import '@polymer/paper-progress/paper-progress.js'
import '@vaadin/button'
const parentEpml = new Epml({ type: 'WINDOW', source: window.parent })
export class UserInfo extends LitElement {
static get properties() {
@ -29,7 +26,10 @@ export class UserInfo extends LitElement {
this.imageFetches = 0
}
static styles = [userInfoStyles]
static get styles() {
return [userInfoStyles];
}
createImage(imageUrl) {
const imageHTMLRes = new Image()