Skip to content

Commit

Permalink
[ui] added dropdown icon to directory text to match figma
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensi committed Jan 19, 2025
1 parent 67c9c75 commit 6cd512a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/desktop/src/components/BottomMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React from "react";
import { ChevronDown } from "./icons";

export default function BottomMenu({ hasMessages }) {
return (
<div className="flex relative border-t dark:border-gray-700 text-bottom-menu dark:text-bottom-menu-dark pl-[15px] text-[10px] h-[30px] leading-[30px] align-middle bg-bottom-menu-background dark:bg-bottom-menu-background-dark rounded-b-2xl">
<span
className="cursor-pointer"
className="cursor-pointer flex items-center"
onClick={async () => {
console.log("Opening directory chooser");
if (hasMessages) {
Expand All @@ -15,6 +16,9 @@ export default function BottomMenu({ hasMessages }) {
}}
>
Working in {window.appConfig.get("GOOSE_WORKING_DIR")}
<ChevronDown
className="w-4 h-4"
/>
</span>
</div>
);
Expand Down

0 comments on commit 6cd512a

Please sign in to comment.