mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-16 15:35:31 +01:00
🎨 style: overall UI improvements (#3576)
* stlye: new dialogs * style: DashGroupItem * style: bookmarks update
This commit is contained in:
parent
5c99d93744
commit
cf393b1308
11 changed files with 172 additions and 121 deletions
|
|
@ -80,7 +80,7 @@ export default function SharedLinkButton({
|
|||
),
|
||||
};
|
||||
}
|
||||
if (share?.isPublic) {
|
||||
if (share.isPublic) {
|
||||
return {
|
||||
handler: async () => {
|
||||
await updateSharedLink();
|
||||
|
|
@ -107,12 +107,12 @@ export default function SharedLinkButton({
|
|||
|
||||
const handlers = getHandler();
|
||||
return (
|
||||
<Button
|
||||
<button
|
||||
disabled={isLoading || isCopying}
|
||||
onClick={() => {
|
||||
handlers.handler();
|
||||
}}
|
||||
className="min-w-32 whitespace-nowrap bg-green-500 text-white hover:bg-green-600 dark:bg-green-600 dark:text-white dark:hover:bg-green-800"
|
||||
className="btn btn-primary flex items-center"
|
||||
>
|
||||
{isCopying && (
|
||||
<>
|
||||
|
|
@ -122,6 +122,6 @@ export default function SharedLinkButton({
|
|||
)}
|
||||
{!isCopying && !isLoading && handlers.label}
|
||||
{!isCopying && isLoading && <Spinner className="h-4 w-4" />}
|
||||
</Button>
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue