[fix] css improvements
This commit is contained in:
parent
a005b42424
commit
f6dbec0b4c
3 changed files with 6 additions and 6 deletions
|
@ -42,8 +42,8 @@ body {
|
|||
|
||||
summary {
|
||||
/* class: bg-info; */
|
||||
--bs-bg-opacity: 1;
|
||||
background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;
|
||||
--bs-bg-opacity: 1;
|
||||
background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity)) !important;
|
||||
}
|
||||
|
||||
/* Set editor dimensions */
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
<option value="xquery">xquery</option>
|
||||
<option value="xml">xml</option>
|
||||
</select>
|
||||
<button popovertarget="popHelp"><i class="codicon codicon-info"></i></button></a>
|
||||
<button popovertarget="popHelp"><i class="codicon codicon-info"></i></button>
|
||||
</footer>
|
||||
</div>
|
||||
<!-- Popovers -->
|
||||
|
|
|
@ -34,12 +34,12 @@ class ListComponent extends HTMLElement {
|
|||
/* Render the list items #data */
|
||||
render() {
|
||||
const list = document.createElement('ul');
|
||||
list.style="max-height:80cqh;overflow: scroll;";
|
||||
list.style="max-height:80cqh;overflow: auto;";
|
||||
const shad=this.#shadow;
|
||||
this.#data.forEach((item, index) => {
|
||||
const listItem = document.createElement('li');
|
||||
listItem.innerHTML = `<i class='codicon codicon-${this.#iconKinds[item.kind]}'></i>
|
||||
<span>${item.name} - ${item.detail}</span>`;
|
||||
listItem.innerHTML = `<a><i class='codicon codicon-${this.#iconKinds[item.kind]}'></i>
|
||||
<span>${item.name} - ${item.detail}</span></a>`;
|
||||
// Adding a click event listener for user interaction
|
||||
listItem.addEventListener('click', () => {
|
||||
console.log('Item clicked:', item, listItem);
|
||||
|
|
Loading…
Add table
Reference in a new issue