chore: updates
This commit is contained in:
@@ -235,9 +235,6 @@ html.dark ::-webkit-scrollbar-thumb {
|
||||
padding-right: 0;
|
||||
padding-left: 8px;
|
||||
}
|
||||
/* [class^="toastui-editor-"] .toastui-editor-md-container .toastui-editor-md-splitter {
|
||||
background-color: #d0d5dd;
|
||||
} */
|
||||
[class^="toastui-editor-"] .toastui-editor-md-container .ProseMirror {
|
||||
height: 100%;
|
||||
}
|
||||
@@ -288,3 +285,12 @@ html.dark ::-webkit-scrollbar-thumb {
|
||||
.toastui-editor-dark .toastui-editor-md-container {
|
||||
background-color: #4e5762 !important;
|
||||
}
|
||||
html.dark .slate-mention {
|
||||
background: #333;
|
||||
}
|
||||
html.dark .slate-Combobox {
|
||||
background: #333 !important;
|
||||
}
|
||||
html.dark .slate-Combobox li:hover {
|
||||
background: #333 !important;
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ export default function UploadFileList({
|
||||
/>
|
||||
)}
|
||||
|
||||
<ul className="w-full overflow-auto flex justify-start p-4 pt-6 bg-gray-200 dark:bg-gray-800 rounded-t-lg">
|
||||
<ul className="w-full overflow-auto flex gap-2 justify-start p-4 pt-6 bg-gray-200 dark:bg-gray-800 rounded-t-lg">
|
||||
{stageFiles.map(({ name, url, size, type }, idx: number) => {
|
||||
return (
|
||||
<li className="group relative flex flex-col bg-gray-100 dark:bg-gray-700 rounded p-2" key={url}>
|
||||
|
||||
@@ -34,8 +34,6 @@ const useUploadFile = (props?: IProps) => {
|
||||
formData.append("file_id", file_id);
|
||||
formData.append("chunk_data", chunk);
|
||||
formData.append("chunk_is_last", `${is_last}`);
|
||||
// old code
|
||||
// formData.append("chunk_is_last", is_last);
|
||||
return uploadFileFn(formData);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user