Fix small things from code review

- Remove unused tailwind classes
- Added comment about timeout jsdoc
- Moved new CSS files to @import
This commit is contained in:
Wolfsblvt 2024-06-13 23:55:28 +02:00
parent 96f04a1c49
commit bdf7fccbae
4 changed files with 4 additions and 12 deletions

View File

@ -336,14 +336,6 @@
padding: 0;
}
.padding1 {
padding: 0;
}
.padding2 {
padding: 0;
}
.padding5 {
padding: 5px;
}

View File

@ -33,9 +33,6 @@
<link rel="apple-touch-icon" sizes="144x144" href="img/apple-icon-144x144.png" />
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="css/st-tailwind.css">
<link rel="stylesheet" type="text/css" href="css/animations.css">
<link rel="stylesheet" type="text/css" href="css/popup.css">
<link rel="stylesheet" type="text/css" href="css/tags.css">
<link rel="stylesheet" type="text/css" href="css/rm-groups.css">
<link rel="stylesheet" type="text/css" href="css/group-avatars.css">
<link rel="stylesheet" type="text/css" href="css/toggle-dependent.css">

View File

@ -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<HTMLElement, undefined, any, any>) => 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;

View File

@ -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%;