mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac: styling
This commit is contained in:
parent
9a546c34bb
commit
466e1fecb4
@ -218,7 +218,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="w-full max-h-full">
|
||||
<div class="w-full max-h-full flex justify-center">
|
||||
<input
|
||||
bind:this={filesInputElement}
|
||||
bind:files={inputFiles}
|
||||
@ -657,7 +657,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="my-2 flex justify-end mb-20">
|
||||
<div class="my-2 flex justify-end pb-20">
|
||||
<button
|
||||
class=" text-sm px-3 py-2 transition rounded-lg {loading
|
||||
? ' cursor-not-allowed bg-white hover:bg-gray-100 text-black'
|
||||
|
@ -58,8 +58,9 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="w-full max-h-full flex justify-center">
|
||||
<form
|
||||
class="flex flex-col max-w-4xl mx-auto mt-4 mb-10 pb-10"
|
||||
class="flex flex-col max-w-4xl mx-auto mb-10 py-4"
|
||||
on:submit|preventDefault={() => {
|
||||
submitHandler();
|
||||
}}
|
||||
@ -134,7 +135,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="my-4 flex justify-end">
|
||||
<div class="my-4 flex justify-end pb-20">
|
||||
<button
|
||||
class=" text-sm px-3 py-2 transition rounded-lg {loading
|
||||
? ' cursor-not-allowed bg-white hover:bg-gray-100 text-black'
|
||||
@ -174,3 +175,4 @@
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -58,8 +58,6 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="w-full max-h-full">
|
||||
{#key prompt}
|
||||
<PromptEditor {prompt} {onSubmit} />
|
||||
{/key}
|
||||
</div>
|
||||
|
@ -44,8 +44,6 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="w-full max-h-full">
|
||||
{#if prompt}
|
||||
<PromptEditor {prompt} {onSubmit} edit />
|
||||
{/if}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user