From 270031c7839d49daec5232f36d508e098a0dc3c1 Mon Sep 17 00:00:00 2001
From: MACHINSOFT <110278369+machinsoft@users.noreply.github.com>
Date: Tue, 5 Dec 2023 16:37:36 +0300
Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=9F=20Minor=20UI=20Styling=20Changes?=
=?UTF-8?q?=20(#1260)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* Correct the display of the interface when hovering with the mouse
* Replace ring-1 with border completely.
* Fix it so that the text does not overlap with the SVG in mobile navigation.
* Remove the extra class -ml-0.5 -mt-0.5, there is no need to shift the buttons
---
client/src/components/Chat/Input/PopoverButtons.tsx | 2 +-
client/src/components/Endpoints/PopoverButtons.tsx | 2 +-
client/src/components/Nav/MobileNav.tsx | 6 +++---
client/src/components/ui/Button.tsx | 2 +-
client/src/components/ui/SelectDropDown.tsx | 2 +-
client/src/components/ui/Slider.tsx | 2 +-
client/src/localization/languages/Ru.tsx | 3 ++-
7 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/client/src/components/Chat/Input/PopoverButtons.tsx b/client/src/components/Chat/Input/PopoverButtons.tsx
index 9c9e6b9043..e2230148e5 100644
--- a/client/src/components/Chat/Input/PopoverButtons.tsx
+++ b/client/src/components/Chat/Input/PopoverButtons.tsx
@@ -42,7 +42,7 @@ export default function PopoverButtons({
label: `Show ${showAgentSettings ? 'Completion' : 'Agent'} Settings`,
buttonClass: '',
handler: () => setShowAgentSettings((prev) => !prev),
- icon: ,
+ icon: ,
},
],
};
diff --git a/client/src/components/Endpoints/PopoverButtons.tsx b/client/src/components/Endpoints/PopoverButtons.tsx
index 37c4e08c1f..217cce1a52 100644
--- a/client/src/components/Endpoints/PopoverButtons.tsx
+++ b/client/src/components/Endpoints/PopoverButtons.tsx
@@ -43,7 +43,7 @@ export default function PopoverButtons({
label: localize('com_endpoint_show_what_settings', showAgentSettings ? localize('com_endpoint_completion') : localize('com_endpoint_agent')),
buttonClass: '',
handler: () => setShowAgentSettings((prev) => !prev),
- icon: ,
+ icon: ,
},
],
};
diff --git a/client/src/components/Nav/MobileNav.tsx b/client/src/components/Nav/MobileNav.tsx
index 3edafe8c38..c100fb6a54 100644
--- a/client/src/components/Nav/MobileNav.tsx
+++ b/client/src/components/Nav/MobileNav.tsx
@@ -15,10 +15,10 @@ export default function MobileNav({
const { title = 'New Chat' } = conversation || {};
return (
-
+