From e925100cbeae8a47ff0e4ea858112487087b3695 Mon Sep 17 00:00:00 2001 From: alma Date: Mon, 21 Apr 2025 11:54:23 +0200 Subject: [PATCH] Page nav bar size --- components/carnet/navigation.tsx | 51 +++++++++++++++++--------------- 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/components/carnet/navigation.tsx b/components/carnet/navigation.tsx index d6ed16f4..3e770720 100644 --- a/components/carnet/navigation.tsx +++ b/components/carnet/navigation.tsx @@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react'; import { Search, BookOpen, Tag, Trash2, Star, Archive, X, Folder, FileText, Calendar, Heart, Users, LucideIcon, ChevronRight } from 'lucide-react'; +import { Card } from '@/components/ui/card'; interface NavigationProps { nextcloudFolders: string[]; @@ -163,31 +164,33 @@ export default function Navigation({ nextcloudFolders, onFolderSelect }: Navigat return (
- {/* Search */} -
-
- - PAGES + + {/* Search */} +
+
+ + PAGES +
+
+ setSearchQuery(e.target.value)} + placeholder="Recherche..." + className="w-full pl-8 pr-4 py-1.5 bg-white border border-carnet-border rounded-md text-sm text-carnet-text-primary placeholder-carnet-text-muted focus:outline-none focus:ring-1 focus:ring-primary" + /> + + {searchQuery && ( + + )} +
-
- setSearchQuery(e.target.value)} - placeholder="Recherche..." - className="w-full pl-8 pr-4 py-1.5 bg-white border border-carnet-border rounded-md text-sm text-carnet-text-primary placeholder-carnet-text-muted focus:outline-none focus:ring-1 focus:ring-primary" - /> - - {searchQuery && ( - - )} -
-
+ {/* Folders */}