From bdf7fccbae6cea7215e96d53c29ba2703c8e794f Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Thu, 13 Jun 2024 23:55:28 +0200 Subject: [PATCH] Fix small things from code review - Remove unused tailwind classes - Added comment about timeout jsdoc - Moved new CSS files to @import --- public/css/st-tailwind.css | 8 -------- public/index.html | 3 --- public/scripts/dragdrop.js | 2 +- public/style.css | 3 +++ 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/public/css/st-tailwind.css b/public/css/st-tailwind.css index f2c1c55e6..d43bd8e01 100644 --- a/public/css/st-tailwind.css +++ b/public/css/st-tailwind.css @@ -336,14 +336,6 @@ padding: 0; } -.padding1 { - padding: 0; -} - -.padding2 { - padding: 0; -} - .padding5 { padding: 5px; } diff --git a/public/index.html b/public/index.html index 9f43cd7ac..b40389fa0 100644 --- a/public/index.html +++ b/public/index.html @@ -33,9 +33,6 @@ - - - diff --git a/public/scripts/dragdrop.js b/public/scripts/dragdrop.js index cf6165f97..c73e9e245 100644 --- a/public/scripts/dragdrop.js +++ b/public/scripts/dragdrop.js @@ -8,7 +8,7 @@ import { debounce_timeout } from './constants.js'; export class DragAndDropHandler { /** @private @type {JQuery.Selector} */ selector; /** @private @type {(files: File[], event:JQuery.DropEvent) => void} */ onDropCallback; - /** @private @type {NodeJS.Timeout} */ dragLeaveTimeout; + /** @private @type {NodeJS.Timeout} Remark: Not actually NodeJS timeout, but it's close */ dragLeaveTimeout; /** @private @type {boolean} */ noAnimation; diff --git a/public/style.css b/public/style.css index c24fd4288..674cdf24f 100644 --- a/public/style.css +++ b/public/style.css @@ -1,11 +1,14 @@ @charset "UTF-8"; +@import url(css/animations.css); +@import url(css/popup.css); @import url(css/promptmanager.css); @import url(css/loader.css); @import url(css/character-group-overlay.css); @import url(css/file-form.css); @import url(css/logprobs.css); @import url(css/accounts.css); +@import url(css/tags.css); :root { --doc-height: 100%;