From 0f72c344572660c2be8a9101306b6f4acdf1afe7 Mon Sep 17 00:00:00 2001 From: blurymind Date: Tue, 10 Sep 2024 18:31:02 +0100 Subject: [PATCH] oops --- src/public/web-components.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/public/web-components.js b/src/public/web-components.js index 2d97c4b4..642c2441 100644 --- a/src/public/web-components.js +++ b/src/public/web-components.js @@ -169,8 +169,8 @@ class Spinner extends HTMLElement { isBusy (message){ const shadowRoot = document.querySelector('spinner-component').shadowRoot; this.spinner = shadowRoot.querySelector("#resourcesLoaderIsBusy"); - this.spinner.style.display = 'block' ; - this.text = 'shadowRoot.querySelector("#resourcesLoaderIsBusyMessage")'; + this.spinner.style.display = message ? 'block' : 'none'; + this.text = shadowRoot.querySelector("#resourcesLoaderIsBusyMessage"); this.text.innerText = message || ''; } } @@ -275,6 +275,14 @@ class ResourcesComponent extends HTMLElement { background-color: #00000096; border-radius: 3px; } + .select-option{ + text-align: left; + content-visibility:auto; + background-size: 25px; + background-repeat: no-repeat; + background-position-x: right; + background-clip: padding-box; + }
@@ -415,7 +423,7 @@ class ResourcesComponent extends HTMLElement { const fileData = resourcesData[fileKey]; const isCommitted = 'committed' in fileData; //add this field when saving return `
+ 'border-left:3px solid'}"> ${fileKey}
`; });