mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 05:15:18 +00:00
refac: styling
This commit is contained in:
parent
b4536a691a
commit
2f398895c6
1 changed files with 4 additions and 4 deletions
|
|
@ -102,14 +102,14 @@
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class=" m-auto rounded-2xl max-w-full w-[32rem] mx-2 bg-gray-50 dark:bg-gray-950 max-h-[100dvh] shadow-3xl"
|
class=" m-auto max-w-full w-[32rem] mx-2 bg-white/95 dark:bg-gray-950/95 backdrop-blur-sm rounded-4xl max-h-[100dvh] shadow-3xl border border-white dark:border-gray-900"
|
||||||
in:flyAndScale
|
in:flyAndScale
|
||||||
on:mousedown={(e) => {
|
on:mousedown={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="px-[1.75rem] py-6 flex flex-col">
|
<div class="px-[1.75rem] py-6 flex flex-col">
|
||||||
<div class=" text-lg font-semibold dark:text-gray-200 mb-2.5">
|
<div class=" text-lg font-medium dark:text-gray-200 mb-2.5">
|
||||||
{#if title !== ''}
|
{#if title !== ''}
|
||||||
{title}
|
{title}
|
||||||
{:else}
|
{:else}
|
||||||
|
|
@ -140,7 +140,7 @@
|
||||||
|
|
||||||
<div class="mt-6 flex justify-between gap-1.5">
|
<div class="mt-6 flex justify-between gap-1.5">
|
||||||
<button
|
<button
|
||||||
class="bg-gray-100 hover:bg-gray-200 text-gray-800 dark:bg-gray-850 dark:hover:bg-gray-800 dark:text-white font-medium w-full py-2.5 rounded-lg transition"
|
class="text-sm bg-gray-100 hover:bg-gray-200 text-gray-800 dark:bg-gray-850 dark:hover:bg-gray-800 dark:text-white font-medium w-full py-2 rounded-3xl transition"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
show = false;
|
show = false;
|
||||||
dispatch('cancel');
|
dispatch('cancel');
|
||||||
|
|
@ -150,7 +150,7 @@
|
||||||
{cancelLabel}
|
{cancelLabel}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="bg-gray-900 hover:bg-gray-850 text-gray-100 dark:bg-gray-100 dark:hover:bg-white dark:text-gray-800 font-medium w-full py-2.5 rounded-lg transition"
|
class="text-sm bg-gray-900 hover:bg-gray-850 text-gray-100 dark:bg-gray-100 dark:hover:bg-white dark:text-gray-800 font-medium w-full py-2 rounded-3xl transition"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
confirmHandler();
|
confirmHandler();
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue