mirror of
https://github.com/open-webui/open-webui
synced 2025-01-30 14:29:55 +00:00
fix: styling
This commit is contained in:
parent
7725a877d6
commit
e4c85921b2
@ -162,7 +162,7 @@
|
|||||||
.substring(1)
|
.substring(1)
|
||||||
.startsWith('https://youtu.be'))}
|
.startsWith('https://youtu.be'))}
|
||||||
<button
|
<button
|
||||||
class="px-3 py-1.5 rounded-xl w-full text-left bg-gray-100 selected-command-option-button"
|
class="px-3 py-1.5 rounded-xl w-full text-left bg-gray-50 dark:bg-gray-850 dark:text-gray-100 selected-command-option-button"
|
||||||
type="button"
|
type="button"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
const url = prompt.split(' ')?.at(0)?.substring(1);
|
const url = prompt.split(' ')?.at(0)?.substring(1);
|
||||||
@ -177,7 +177,7 @@
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class=" font-medium text-black line-clamp-1">
|
<div class=" font-medium text-black dark:text-gray-100 line-clamp-1">
|
||||||
{prompt.split(' ')?.at(0)?.substring(1)}
|
{prompt.split(' ')?.at(0)?.substring(1)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -185,7 +185,7 @@
|
|||||||
</button>
|
</button>
|
||||||
{:else if prompt.split(' ')?.at(0)?.substring(1).startsWith('http')}
|
{:else if prompt.split(' ')?.at(0)?.substring(1).startsWith('http')}
|
||||||
<button
|
<button
|
||||||
class="px-3 py-1.5 rounded-xl w-full text-left bg-gray-100 selected-command-option-button"
|
class="px-3 py-1.5 rounded-xl w-full text-left bg-gray-50 dark:bg-gray-850 dark:text-gray-100 selected-command-option-button"
|
||||||
type="button"
|
type="button"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
const url = prompt.split(' ')?.at(0)?.substring(1);
|
const url = prompt.split(' ')?.at(0)?.substring(1);
|
||||||
@ -200,7 +200,7 @@
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class=" font-medium text-black line-clamp-1">
|
<div class=" font-medium text-black dark:text-gray-100 line-clamp-1">
|
||||||
{prompt.split(' ')?.at(0)?.substring(1)}
|
{prompt.split(' ')?.at(0)?.substring(1)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user