mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
refac: styling
This commit is contained in:
parent
77c1905609
commit
11914d20b4
1 changed files with 32 additions and 22 deletions
|
|
@ -864,22 +864,31 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
|
||||||
|
|
||||||
<div class=" mb-2.5 px-2.5">
|
<div class=" mb-2.5 px-2.5">
|
||||||
<div
|
<div
|
||||||
class="flex gap-1 items-center text-xs font-medium text-gray-500 dark:text-gray-500"
|
class=" flex w-full bg-transparent overflow-x-auto scrollbar-none"
|
||||||
|
on:wheel={(e) => {
|
||||||
|
if (e.deltaY !== 0) {
|
||||||
|
e.preventDefault();
|
||||||
|
e.currentTarget.scrollLeft += e.deltaY;
|
||||||
|
}
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<button class=" flex items-center gap-1 w-fit py-1 px-1.5 rounded-lg">
|
<div
|
||||||
|
class="flex gap-1 items-center text-xs font-medium text-gray-500 dark:text-gray-500 w-fit"
|
||||||
|
>
|
||||||
|
<button class=" flex items-center gap-1 w-fit py-1 px-1.5 rounded-lg min-w-fit">
|
||||||
<Calendar className="size-3.5" strokeWidth="2" />
|
<Calendar className="size-3.5" strokeWidth="2" />
|
||||||
|
|
||||||
<span>{dayjs(note.created_at / 1000000).calendar()}</span>
|
<span>{dayjs(note.created_at / 1000000).calendar()}</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button class=" flex items-center gap-1 w-fit py-1 px-1.5 rounded-lg">
|
<button class=" flex items-center gap-1 w-fit py-1 px-1.5 rounded-lg min-w-fit">
|
||||||
<Users className="size-3.5" strokeWidth="2" />
|
<Users className="size-3.5" strokeWidth="2" />
|
||||||
|
|
||||||
<span> You </span>
|
<span> You </span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
{#if editor}
|
{#if editor}
|
||||||
<div class="flex items-center gap-1 px-1">
|
<div class="flex items-center gap-1 px-1 min-w-fit">
|
||||||
<div>
|
<div>
|
||||||
{$i18n.t('{{count}} words', {
|
{$i18n.t('{{count}} words', {
|
||||||
count: wordCount
|
count: wordCount
|
||||||
|
|
@ -894,6 +903,7 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class=" flex-1 w-full h-full overflow-auto px-3.5 pb-20 relative"
|
class=" flex-1 w-full h-full overflow-auto px-3.5 pb-20 relative"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue