Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: model title setting overlap close sheet

Faisal Amira67bf00f7253
diff --git a/web-app/src/components/ui/sheet.tsx b/web-app/src/components/ui/sheet.tsx
index 72397234f..0821524c6 100644
--- a/web-app/src/components/ui/sheet.tsx
+++ b/web-app/src/components/ui/sheet.tsx
@@ -112,7 +112,7 @@ function SheetTitle({
return (
<SheetPrimitive.Title
data-slot="sheet-title"
- className={cn("text-foreground font-semibold", className)}
+ className={cn("text-foreground font-semibold pr-8", className)}
{...props}
/>
)
diff --git a/web-app/src/containers/SettingsMenu.tsx b/web-app/src/containers/SettingsMenu.tsx
index ddc03d0f8..916210f5a 100644
--- a/web-app/src/containers/SettingsMenu.tsx
+++ b/web-app/src/containers/SettingsMenu.tsx
@@ -147,7 +147,7 @@ const SettingsMenu = () => {
<div key={menu.title}>
<Link
to={menu.route}
- className="block px-2 gap-1.5 cursor-pointer hover:bg-secondary/60 py-1 w-full rounded-sm [&.active]:bg-secondary/80"
+ className="block px-2 gap-1.5 cursor-pointer hover:dark:bg-secondary/60 hover:bg-secondary py-1 w-full rounded-sm [&.active]:dark:bg-secondary/80 [&.active]:bg-secondary"
>
<div className="flex items-center justify-between">
<span>
diff --git a/web-app/src/hooks/useInterfaceSettings.ts b/web-app/src/hooks/useInterfaceSettings.ts
index dcfccc332..5dcd6c691 100644
--- a/web-app/src/hooks/useInterfaceSettings.ts
+++ b/web-app/src/hooks/useInterfaceSettings.ts
@@ -74,7 +74,7 @@ export const ACCENT_COLORS = [
value: 'pink',
thumb: '#D55EF3',
primary: '#D55EF3',
- sidebar: { light: '#E9C4F3', dark: '#4D075F' },
+ sidebar: { light: '#FFDAE9', dark: '#4D075F' },
},
{
name: 'Rose',