mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac: styling
This commit is contained in:
parent
e61e7434a0
commit
e701c65db4
4 changed files with 9 additions and 9 deletions
|
|
@ -231,7 +231,7 @@
|
||||||
<div class="flex space-x-1.5">
|
<div class="flex space-x-1.5">
|
||||||
<button
|
<button
|
||||||
id="close-edit-message-button"
|
id="close-edit-message-button"
|
||||||
class="px-4 py-2 bg-white dark:bg-gray-900 hover:bg-gray-100 text-gray-800 dark:text-gray-100 transition rounded-3xl"
|
class="px-3.5 py-1.5 bg-white dark:bg-gray-900 hover:bg-gray-100 text-gray-800 dark:text-gray-100 transition rounded-3xl"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
edit = false;
|
edit = false;
|
||||||
editedContent = null;
|
editedContent = null;
|
||||||
|
|
@ -242,7 +242,7 @@
|
||||||
|
|
||||||
<button
|
<button
|
||||||
id="confirm-edit-message-button"
|
id="confirm-edit-message-button"
|
||||||
class=" px-4 py-2 bg-gray-900 dark:bg-white hover:bg-gray-850 text-gray-100 dark:text-gray-800 transition rounded-3xl"
|
class="px-3.5 py-1.5 bg-gray-900 dark:bg-white hover:bg-gray-850 text-gray-100 dark:text-gray-800 transition rounded-3xl"
|
||||||
on:click={async () => {
|
on:click={async () => {
|
||||||
onEdit(editedContent);
|
onEdit(editedContent);
|
||||||
edit = false;
|
edit = false;
|
||||||
|
|
|
||||||
|
|
@ -705,7 +705,7 @@
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
id="save-new-message-button"
|
id="save-new-message-button"
|
||||||
class=" px-4 py-2 bg-gray-50 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700 border border-gray-100 dark:border-gray-700 text-gray-700 dark:text-gray-200 transition rounded-3xl"
|
class="px-3.5 py-1.5 bg-gray-50 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700 border border-gray-100 dark:border-gray-700 text-gray-700 dark:text-gray-200 transition rounded-3xl"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
saveAsCopyHandler();
|
saveAsCopyHandler();
|
||||||
}}
|
}}
|
||||||
|
|
@ -717,7 +717,7 @@
|
||||||
<div class="flex space-x-1.5">
|
<div class="flex space-x-1.5">
|
||||||
<button
|
<button
|
||||||
id="close-edit-message-button"
|
id="close-edit-message-button"
|
||||||
class="px-4 py-2 bg-white dark:bg-gray-900 hover:bg-gray-100 text-gray-800 dark:text-gray-100 transition rounded-3xl"
|
class="px-3.5 py-1.5 bg-white dark:bg-gray-900 hover:bg-gray-100 text-gray-800 dark:text-gray-100 transition rounded-3xl"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
cancelEditMessage();
|
cancelEditMessage();
|
||||||
}}
|
}}
|
||||||
|
|
@ -727,7 +727,7 @@
|
||||||
|
|
||||||
<button
|
<button
|
||||||
id="confirm-edit-message-button"
|
id="confirm-edit-message-button"
|
||||||
class=" px-4 py-2 bg-gray-900 dark:bg-white hover:bg-gray-850 text-gray-100 dark:text-gray-800 transition rounded-3xl"
|
class="px-3.5 py-1.5 bg-gray-900 dark:bg-white hover:bg-gray-850 text-gray-100 dark:text-gray-800 transition rounded-3xl"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
editMessageConfirmHandler();
|
editMessageConfirmHandler();
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -304,7 +304,7 @@
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
id="save-edit-message-button"
|
id="save-edit-message-button"
|
||||||
class=" px-4 py-2 bg-gray-50 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700 border border-gray-100 dark:border-gray-700 text-gray-700 dark:text-gray-200 transition rounded-3xl"
|
class="px-3.5 py-1.5 bg-gray-50 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700 border border-gray-100 dark:border-gray-700 text-gray-700 dark:text-gray-200 transition rounded-3xl"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
editMessageConfirmHandler(false);
|
editMessageConfirmHandler(false);
|
||||||
}}
|
}}
|
||||||
|
|
@ -316,7 +316,7 @@
|
||||||
<div class="flex space-x-1.5">
|
<div class="flex space-x-1.5">
|
||||||
<button
|
<button
|
||||||
id="close-edit-message-button"
|
id="close-edit-message-button"
|
||||||
class="px-4 py-2 bg-white dark:bg-gray-900 hover:bg-gray-100 text-gray-800 dark:text-gray-100 transition rounded-3xl"
|
class="px-3.5 py-1.5 bg-white dark:bg-gray-900 hover:bg-gray-100 text-gray-800 dark:text-gray-100 transition rounded-3xl"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
cancelEditMessage();
|
cancelEditMessage();
|
||||||
}}
|
}}
|
||||||
|
|
@ -326,7 +326,7 @@
|
||||||
|
|
||||||
<button
|
<button
|
||||||
id="confirm-edit-message-button"
|
id="confirm-edit-message-button"
|
||||||
class=" px-4 py-2 bg-gray-900 dark:bg-white hover:bg-gray-850 text-gray-100 dark:text-gray-800 transition rounded-3xl"
|
class="px-3.5 py-1.5 bg-gray-900 dark:bg-white hover:bg-gray-850 text-gray-100 dark:text-gray-800 transition rounded-3xl"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
editMessageConfirmHandler();
|
editMessageConfirmHandler();
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -199,7 +199,7 @@
|
||||||
>
|
>
|
||||||
<div class="pb-5">
|
<div class="pb-5">
|
||||||
<button
|
<button
|
||||||
class="px-4 py-2 text-sm font-medium bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full"
|
class="px-3.5 py-1.5 text-sm font-medium bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full"
|
||||||
on:click={cloneSharedChat}
|
on:click={cloneSharedChat}
|
||||||
>
|
>
|
||||||
{$i18n.t('Clone Chat')}
|
{$i18n.t('Clone Chat')}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue