mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 22:05:19 +00:00
refac: styling
This commit is contained in:
parent
9632f40335
commit
e2f5d7caec
2 changed files with 21 additions and 2 deletions
19
src/lib/components/icons/ArrowUpLeft.svelte
Normal file
19
src/lib/components/icons/ArrowUpLeft.svelte
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<script lang="ts">
|
||||||
|
export let className = 'size-4';
|
||||||
|
export let strokeWidth = '1.5';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
fill="none"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
stroke-width={strokeWidth}
|
||||||
|
stroke="currentColor"
|
||||||
|
class={className}
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
d="m19.5 19.5-15-15m0 0v11.25m0-11.25h11.25"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
import Markdown from '$lib/components/chat/Messages/Markdown.svelte';
|
import Markdown from '$lib/components/chat/Messages/Markdown.svelte';
|
||||||
import Pencil from '$lib/components/icons/Pencil.svelte';
|
import Pencil from '$lib/components/icons/Pencil.svelte';
|
||||||
import Textarea from '$lib/components/common/Textarea.svelte';
|
import Textarea from '$lib/components/common/Textarea.svelte';
|
||||||
import DocumentArrowUp from '$lib/components/icons/DocumentArrowUp.svelte';
|
|
||||||
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
||||||
|
import ArrowUpLeft from '$lib/components/icons/ArrowUpLeft.svelte';
|
||||||
|
|
||||||
export let message;
|
export let message;
|
||||||
export let idx;
|
export let idx;
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
onInsert();
|
onInsert();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<DocumentArrowUp className="size-3.5" strokeWidth="2" />
|
<ArrowUpLeft className="size-3.5" strokeWidth="2" />
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue