fix code block text color and members pagination

This commit is contained in:
Phillip 2023-08-11 03:16:00 +03:00
parent a438f9db6a
commit 6db6381279
3 changed files with 5 additions and 3 deletions

View File

@ -64,6 +64,7 @@ html {
--app-background-2: #09c6f9;
--app-icon: #ffffff;
--app-hr: rgba(0, 0, 0, .3);
--code-block-text-color: #008fd5;
}
html[theme="dark"] {
@ -132,4 +133,5 @@ html[theme="dark"] {
--app-background-2: #0d324d;
--app-icon: #03a9f4;
--app-hr: rgba(255, 255, 255, .3);
--code-block-text-color: #008fd5;
}

View File

@ -1880,7 +1880,7 @@ class ChatPage extends LitElement {
return memberItem
})
const membersWithName = await Promise.all(getMembersWithName)
this.groupMembers = membersWithName
this.groupMembers = [...this.groupMembers, ...membersWithName]
this.pageNumber = this.pageNumber + 1
} catch (error) {
}

View File

@ -101,7 +101,7 @@ function processText(input) {
// Store the URL in a data attribute
link.setAttribute('data-url', part)
link.textContent = part
link.style.color = 'var(--nav-text-color)'
link.style.color = 'var(--code-block-text-color)'
link.style.textDecoration = 'underline'
link.style.cursor = 'pointer'
@ -125,7 +125,7 @@ function processText(input) {
url: `qdn/browser/index.html${query}`,
id: uid(),
myPlugObj: {
"url": service === 'WEBSITE' ? "websites" : "qapps",
"url": "myapp",
"domain": "core",
"page": `qdn/browser/index.html${query}`,
"title": name,