Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/desktop/src/session/components/folder-picker.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe("FolderPicker", () => {
cleanup();
});

it("shows only a standard-sized folder icon when no folder is selected", () => {
it("optically sizes the folder icon when no folder is selected", () => {
render(<FolderPicker sessionId="session-1" />);

const trigger = screen.getByRole("combobox", { name: "Select folder" });
Expand All @@ -41,7 +41,7 @@ describe("FolderPicker", () => {
expect(trigger.textContent).toBe("");
expect(trigger.className).toContain("w-7");
expect(icons).toHaveLength(1);
expect(icons[0]?.getAttribute("class")).toContain("size-4");
expect(icons[0]?.getAttribute("class")).toContain("size-[18px]");
});

it("shows the selected folder name without a chevron", () => {
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/session/components/folder-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function FolderPicker({
open && "bg-accent text-foreground",
])}
>
<FolderSimple className="size-4 shrink-0" aria-hidden="true" />
<FolderSimple className="size-[18px] shrink-0" aria-hidden="true" />
{currentPath ? (
<span className="min-w-0 truncate text-xs text-neutral-600 dark:text-neutral-300">
{currentPath}
Expand Down
Loading