style: adjust padding in KnowledgeFilterPanel and update smallWidthPaths in LayoutWrapper
This commit is contained in:
parent
4d21d6afbb
commit
3b48e4c236
2 changed files with 2 additions and 2 deletions
|
|
@ -234,7 +234,7 @@ export function KnowledgeFilterPanel() {
|
||||||
return (
|
return (
|
||||||
<div className="h-full bg-background border-l">
|
<div className="h-full bg-background border-l">
|
||||||
<Card className="h-full rounded-none border-0 flex flex-col">
|
<Card className="h-full rounded-none border-0 flex flex-col">
|
||||||
<CardHeader className="pb-3">
|
<CardHeader className="pb-3 pt-3">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<CardTitle className="text-lg flex items-center gap-2">
|
<CardTitle className="text-lg flex items-center gap-2">
|
||||||
Knowledge Filter
|
Knowledge Filter
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ export function LayoutWrapper({ children }: { children: React.ReactNode }) {
|
||||||
const isOnKnowledgePage = pathname.startsWith("/knowledge");
|
const isOnKnowledgePage = pathname.startsWith("/knowledge");
|
||||||
|
|
||||||
// List of paths with smaller max-width
|
// List of paths with smaller max-width
|
||||||
const smallWidthPaths = ["/settings", "/settings/connector/new"];
|
const smallWidthPaths = ["/settings/connector/new"];
|
||||||
const isSmallWidthPath = smallWidthPaths.includes(pathname);
|
const isSmallWidthPath = smallWidthPaths.includes(pathname);
|
||||||
|
|
||||||
// Calculate active tasks for the bell icon
|
// Calculate active tasks for the bell icon
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue