Skip to content

Commit

Permalink
icons update
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Aug 4, 2024
1 parent 52dc4ec commit 1e7de27
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/components/export-buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
PopoverTrigger
} from "@/components/ui/popover";

import { DownloadIcon } from "lucide-react";
import { FileDownIcon } from "lucide-react";

export default function ExportButtons() {
const { selectedTable, tables, customQuery, db } = useSQLiteStore();
Expand Down Expand Up @@ -63,7 +63,7 @@ export default function ExportButtons() {
<Popover>
<PopoverTrigger asChild>
<Button title="Open export options">
<DownloadIcon className="h-5 w-5" />
<FileDownIcon className="h-5 w-5" />
</Button>
</PopoverTrigger>
<PopoverContent align="end" className="w-80">
Expand Down
4 changes: 2 additions & 2 deletions src/components/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { Separator } from "@/components/ui/separator";
import { Label } from "@/components/ui/label";
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";

import { Settings2Icon } from "lucide-react";
import { SettingsIcon } from "lucide-react";

const ROWS_PER_PAGE_KEY = "rowsPerPage";
const DATE_FORMAT_KEY = "dateFormat";
Expand Down Expand Up @@ -105,7 +105,7 @@ export default function Settings() {
<Drawer>
<DrawerTrigger asChild>
<Button className="grow" title="Open settings drawer">
<Settings2Icon className="h-5 w-5" />
<SettingsIcon className="h-5 w-5" />
</Button>
</DrawerTrigger>
<DrawerContent>
Expand Down
6 changes: 3 additions & 3 deletions src/components/table-data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
KeyRoundIcon,
KeySquareIcon,
CuboidIcon,
Clock9Icon
CalendarIcon
} from "lucide-react";

interface DBTableComponentProps {
Expand All @@ -44,7 +44,7 @@ const ColumnIcon: React.FC<{ columnSchema: ColumnSchema }> = React.memo(
if (columnSchema?.type === "BLOB")
return <CuboidIcon className="h-4 w-4" />;
if (columnSchema?.type?.includes("DATE"))
return <Clock9Icon className="h-4 w-4" />;
return <CalendarIcon className="h-4 w-4" />;
return null;
}
);
Expand Down Expand Up @@ -122,7 +122,7 @@ function TableHeadFilter({ col }: { col: string }) {
<Input
value={inputValue}
onChange={onInputChange}
className="mt-1 max-h-7 w-full text-sm"
className="mt-[2px] max-h-7 w-full text-xs"
placeholder="Filter"
/>
);
Expand Down
6 changes: 3 additions & 3 deletions src/components/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import StatusMessage from "./stats-message";
import ExportButtons from "./export-buttons";

import {
TrashIcon,
Trash2Icon,
PlayIcon,
ListRestartIcon,
Maximize2Icon,
Expand Down Expand Up @@ -103,9 +103,9 @@ export default function DBTable() {
<Button
className="w-full"
onClick={handleResetQuery}
title="Reset query"
title="Remove query"
>
<TrashIcon className="h-5 w-5" />
<Trash2Icon className="h-5 w-5" />
</Button>
<Button
className="w-full"
Expand Down

0 comments on commit 1e7de27

Please sign in to comment.