submenu of the header fix

This commit is contained in:
suryacp23 2026-07-29 11:27:49 +05:30
parent 634e43a6c9
commit 8ad60001fe
4 changed files with 5 additions and 6 deletions

View File

@ -10,7 +10,7 @@ import { Spinner } from '../reusable/Spinner';
import { EmptyState } from '../reusable/EmptyState';
import { StatsTiles } from '../reusable/StatsTiles';
import { AnalyticsChart } from '../reusable/AnalyticsChart';
import { Select, MultiSelect } from '../reusable/Select';
import { MultiSelect } from '../reusable/Select';
export interface RecordViewProps {
/** Workflow-bound client (see api/clients.ts). */

View File

@ -30,7 +30,7 @@ export function ConsoleLayout() {
return (
<div className="h-screen bg-[var(--secondary-color)] flex flex-col">
<header className="sticky top-0 z-10 shrink-0 flex items-center justify-between gap-6 px-6 h-[56px] shadow-sm" style={{ background: 'var(--nav-bg-color)' }}>
<header className="sticky top-0 z-50 shrink-0 flex items-center justify-between gap-6 px-6 h-[56px] shadow-sm" style={{ background: 'var(--nav-bg-color)' }}>
<div className="flex items-center min-w-max w-48">
<span className="text-lg font-bold text-white tracking-wide leading-none">Krishna Sales</span>
</div>

View File

@ -1,14 +1,13 @@
import { useEffect, useState } from 'react';
import { useParams, useNavigate } from 'react-router-dom';
import { useParams } from 'react-router-dom';
import { orderBookingClient } from '../../api/clients';
import type { Dataset } from '../../api/types';
import { Button } from '../../components/buttons/Button';
import { Spinner } from '../../components/reusable/Spinner';
import { ArrowLeft, Save, Trash2, Plus, Database, Upload } from 'lucide-react';
import { Save, Trash2, Plus, Database, Upload } from 'lucide-react';
export function DatasetItemsPage() {
const { id } = useParams<{ id: string }>();
const navigate = useNavigate();
const [dataset, setDataset] = useState<Dataset | null>(null);
const [loading, setLoading] = useState(true);

View File

@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
import { orderBookingClient } from '../../api/clients';
import type { Dataset } from '../../api/types';
import { Spinner } from '../../components/reusable/Spinner';
import { Database, LayoutList, Table2 } from 'lucide-react';
import { Database } from 'lucide-react';
import { useNavigate, useLocation, Outlet, useParams } from 'react-router-dom';
export function DatasetsPage() {