mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-12 02:05:51 +00:00
make name selectable
This commit is contained in:
parent
8cb7f4cc72
commit
1022fa971a
@ -8,7 +8,6 @@ font-size: 28px;
|
|||||||
color: var(--chat-bubble-msg-color);
|
color: var(--chat-bubble-msg-color);
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
user-select: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar-container {
|
.avatar-container {
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
import { LitElement, html } from 'lit'
|
import { LitElement, html } from 'lit'
|
||||||
import { render } from 'lit/html.js'
|
import { translate } from 'lit-translate'
|
||||||
import { use, get, translate, translateUnsafeHTML, registerTranslateConfig } from 'lit-translate'
|
|
||||||
import { userInfoStyles } from './UserInfo-css.js'
|
import { userInfoStyles } from './UserInfo-css.js'
|
||||||
import { Epml } from '../../../../epml'
|
|
||||||
import { cropAddress } from '../../../utils/cropAddress.js'
|
import { cropAddress } from '../../../utils/cropAddress.js'
|
||||||
|
|
||||||
import '@polymer/paper-progress/paper-progress.js'
|
import '@polymer/paper-progress/paper-progress.js'
|
||||||
import '@vaadin/button'
|
import '@vaadin/button'
|
||||||
|
|
||||||
const parentEpml = new Epml({ type: 'WINDOW', source: window.parent })
|
|
||||||
|
|
||||||
export class UserInfo extends LitElement {
|
export class UserInfo extends LitElement {
|
||||||
static get properties() {
|
static get properties() {
|
||||||
@ -29,7 +26,10 @@ export class UserInfo extends LitElement {
|
|||||||
this.imageFetches = 0
|
this.imageFetches = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
static styles = [userInfoStyles]
|
static get styles() {
|
||||||
|
return [userInfoStyles];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
createImage(imageUrl) {
|
createImage(imageUrl) {
|
||||||
const imageHTMLRes = new Image()
|
const imageHTMLRes = new Image()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user