diff --git a/qortal-ui-plugins/plugins/core/components/UserInfo/UserInfo.js b/qortal-ui-plugins/plugins/core/components/UserInfo/UserInfo.js index 99468a92..7a589749 100644 --- a/qortal-ui-plugins/plugins/core/components/UserInfo/UserInfo.js +++ b/qortal-ui-plugins/plugins/core/components/UserInfo/UserInfo.js @@ -7,8 +7,6 @@ import '@vaadin/button'; import '@polymer/paper-progress/paper-progress.js'; import { cropAddress } from '../../../utils/cropAddress.js'; -// const parentEpml = new Epml({ type: "WINDOW", source: window.parent }); - export class UserInfo extends LitElement { static get properties() { return { @@ -35,7 +33,6 @@ export class UserInfo extends LitElement { const imageHTMLRes = new Image(); imageHTMLRes.src = imageUrl; imageHTMLRes.classList.add("user-info-avatar"); - // imageHTMLRes.style= "width:30px; height:30px; float: left; border-radius:50%; font-size:14px"; imageHTMLRes.onload = () => { this.isImageLoaded = true; } @@ -52,14 +49,6 @@ export class UserInfo extends LitElement { return imageHTMLRes; } - updated(changedProperties) { - if (changedProperties && changedProperties.has('selectedHead')) { - if (this.selectedHead) { - console.log(this.selectedHead, "selected head") - } - } - } - render() { let avatarImg = ""; if (this.selectedHead && this.selectedHead.name) { diff --git a/qortal-ui-plugins/plugins/core/messaging/q-chat/q-chat-css.src.js b/qortal-ui-plugins/plugins/core/messaging/q-chat/q-chat-css.src.js index 3abb7c24..bb8cec28 100644 --- a/qortal-ui-plugins/plugins/core/messaging/q-chat/q-chat-css.src.js +++ b/qortal-ui-plugins/plugins/core/messaging/q-chat/q-chat-css.src.js @@ -193,6 +193,23 @@ export const qchatStyles = css` overflow-x: hidden; } + .people-list ul::-webkit-scrollbar-track { + background-color: whitesmoke; + border-radius: 7px; + } + + .people-list ul::-webkit-scrollbar { + width: 6px; + border-radius: 7px; + background-color: whitesmoke; + } + + .people-list ul::-webkit-scrollbar-thumb { + background-color: rgb(180, 176, 176); + border-radius: 7px; + transition: all 0.3s ease-in-out; + } + .chat { width: 80vw; height: 100vh; diff --git a/qortal-ui-plugins/plugins/core/messaging/q-chat/q-chat.src.js b/qortal-ui-plugins/plugins/core/messaging/q-chat/q-chat.src.js index 920c56bf..84336cea 100644 --- a/qortal-ui-plugins/plugins/core/messaging/q-chat/q-chat.src.js +++ b/qortal-ui-plugins/plugins/core/messaging/q-chat/q-chat.src.js @@ -97,6 +97,8 @@ class Chat extends LitElement { } render() { + console.log(12, "q-chat here"); + console.log(window.location.href); return html`
@@ -112,12 +114,14 @@ class Chat extends LitElement {
- - - ${this.groupInvites.length > 0 ? ( html`
@@ -463,6 +467,10 @@ class Chat extends LitElement { } } + redirectToGroups() { + window.location.href = `../../group-management/index.html` + } + setChatEditor(editor) { this.chatEditor = editor; }