mirror of
https://github.com/open-webui/open-webui
synced 2025-05-18 04:15:07 +00:00
refac
This commit is contained in:
parent
03282da45c
commit
a922f4b2e7
@ -102,7 +102,7 @@
|
|||||||
|
|
||||||
const createFileFromText = (name, content) => {
|
const createFileFromText = (name, content) => {
|
||||||
const blob = new Blob([content], { type: 'text/plain' });
|
const blob = new Blob([content], { type: 'text/plain' });
|
||||||
const file = blobToFile(blob, `${name}.md`);
|
const file = blobToFile(blob, `${name}.txt`);
|
||||||
|
|
||||||
console.log(file);
|
console.log(file);
|
||||||
return file;
|
return file;
|
||||||
@ -784,7 +784,7 @@
|
|||||||
>
|
>
|
||||||
<div class="flex flex-col justify-start h-full max-h-full p-2">
|
<div class="flex flex-col justify-start h-full max-h-full p-2">
|
||||||
<div class=" flex flex-col w-full h-full max-h-full">
|
<div class=" flex flex-col w-full h-full max-h-full">
|
||||||
<div class="flex-shrink-0 mb-2 flex items-center">
|
<div class="flex-shrink-0 mt-1 mb-2 flex items-center">
|
||||||
<div class="mr-2">
|
<div class="mr-2">
|
||||||
<button
|
<button
|
||||||
class="w-full text-left text-sm p-1.5 rounded-lg dark:text-gray-300 dark:hover:text-white hover:bg-black/5 dark:hover:bg-gray-850"
|
class="w-full text-left text-sm p-1.5 rounded-lg dark:text-gray-300 dark:hover:text-white hover:bg-black/5 dark:hover:bg-gray-850"
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
<div class="flex-shrink-0 w-full flex justify-between items-center">
|
<div class="flex-shrink-0 w-full flex justify-between items-center">
|
||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
<input
|
<input
|
||||||
class="w-full text-3xl font-semibold rounded-lg bg-transparent outline-none"
|
class="w-full text-3xl font-semibold bg-transparent outline-none"
|
||||||
type="text"
|
type="text"
|
||||||
bind:value={name}
|
bind:value={name}
|
||||||
placeholder={$i18n.t('Title')}
|
placeholder={$i18n.t('Title')}
|
||||||
|
Loading…
Reference in New Issue
Block a user