forked from open-webui/open-webui
Merge pull request #644 from ollama-webui/chore-styling
chore: styling fix
This commit is contained in:
commit
bd0a75a885
2 changed files with 30 additions and 29 deletions
|
@ -283,7 +283,7 @@ A big shoutout to our amazing supporters who's helping to make this project poss
|
||||||
|
|
||||||
### Acknowledgments
|
### Acknowledgments
|
||||||
|
|
||||||
Special thanks to [Prof. Lawrence Kim @ SFU](https://www.lhkim.com/) and [Prof. Nick Vincent @ SFU](https://www.nickmvincent.com/) for their invaluable support and guidance in shaping this project into a research endeavor. Grateful for your mentorship throughout the journey! 🙌
|
Special thanks to [Prof. Lawrence Kim](https://www.lhkim.com/) and [Prof. Nick Vincent](https://www.nickmvincent.com/) for their invaluable support and guidance in shaping this project into a research endeavor. Grateful for your mentorship throughout the journey! 🙌
|
||||||
|
|
||||||
## License 📜
|
## License 📜
|
||||||
|
|
||||||
|
|
|
@ -227,6 +227,29 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- <div>
|
||||||
|
<div
|
||||||
|
class="my-3 py-16 rounded-lg border-2 border-dashed dark:border-gray-600 {dragged &&
|
||||||
|
' dark:bg-gray-700'} "
|
||||||
|
role="region"
|
||||||
|
on:drop={onDrop}
|
||||||
|
on:dragover={onDragOver}
|
||||||
|
on:dragleave={onDragLeave}
|
||||||
|
>
|
||||||
|
<div class=" pointer-events-none">
|
||||||
|
<div class="text-center dark:text-white text-2xl font-semibold z-50">Add Files</div>
|
||||||
|
|
||||||
|
<div class=" mt-2 text-center text-sm dark:text-gray-200 w-full">
|
||||||
|
Drop any files here to add to my documents
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
{#each $documents.filter((doc) => (selectedTag === '' || (doc?.content?.tags ?? [])
|
||||||
|
.map((tag) => tag.name)
|
||||||
|
.includes(selectedTag)) && (query === '' || doc.name.includes(query))) as doc}
|
||||||
<hr class=" dark:border-gray-700 my-2.5" />
|
<hr class=" dark:border-gray-700 my-2.5" />
|
||||||
|
|
||||||
{#if tags.length > 0}
|
{#if tags.length > 0}
|
||||||
|
@ -256,28 +279,6 @@
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<!-- <div>
|
|
||||||
<div
|
|
||||||
class="my-3 py-16 rounded-lg border-2 border-dashed dark:border-gray-600 {dragged &&
|
|
||||||
' dark:bg-gray-700'} "
|
|
||||||
role="region"
|
|
||||||
on:drop={onDrop}
|
|
||||||
on:dragover={onDragOver}
|
|
||||||
on:dragleave={onDragLeave}
|
|
||||||
>
|
|
||||||
<div class=" pointer-events-none">
|
|
||||||
<div class="text-center dark:text-white text-2xl font-semibold z-50">Add Files</div>
|
|
||||||
|
|
||||||
<div class=" mt-2 text-center text-sm dark:text-gray-200 w-full">
|
|
||||||
Drop any files here to add to my documents
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
{#each $documents.filter((doc) => (selectedTag === '' || (doc?.content?.tags ?? [])
|
|
||||||
.map((tag) => tag.name)
|
|
||||||
.includes(selectedTag)) && (query === '' || doc.name.includes(query))) as doc}
|
|
||||||
<div class=" flex space-x-4 cursor-pointer w-full mt-3 mb-3">
|
<div class=" flex space-x-4 cursor-pointer w-full mt-3 mb-3">
|
||||||
<div class=" flex flex-1 space-x-4 cursor-pointer w-full">
|
<div class=" flex flex-1 space-x-4 cursor-pointer w-full">
|
||||||
<div class=" flex items-center space-x-3">
|
<div class=" flex items-center space-x-3">
|
||||||
|
|
Loading…
Reference in a new issue