From f64fa3b82638c8b4ec72b2e09a6341a44745ff46 Mon Sep 17 00:00:00 2001
From: Sam Nystrom <sam@samnystrom.dev>
Date: Sat, 16 Mar 2024 22:53:40 -0400
Subject: fix: fix ButtonMenu icon rotation

---
 src/components/ButtonMenu.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/components/ButtonMenu.tsx')

diff --git a/src/components/ButtonMenu.tsx b/src/components/ButtonMenu.tsx
index f4427b3..1cb518a 100644
--- a/src/components/ButtonMenu.tsx
+++ b/src/components/ButtonMenu.tsx
@@ -3,6 +3,7 @@ import { useEffect, useCallback, useRef, useId } from 'preact/hooks';
 import { useSignal, batch } from '@preact/signals';
 import Button from './Button.tsx';
 import Menu from './Menu.tsx';
+import chevronRight from '../icons/chevron-right.svg';
 import './ButtonMenu.css';
 
 export interface ButtonMenuProps {
@@ -31,7 +32,10 @@ const ButtonMenu = ({ children, label }: ButtonMenuProps) => {
 			onScroll={updateRect}
 			style={`--anchor-x: ${x}px; --anchor-y: ${y}px;`}
 		>
-			<Button kind="ghost" popoverTarget={id}>{label}</Button>
+			<Button kind="ghost" popoverTarget={id}>
+				<img src={chevronRight} />
+				{label}
+			</Button>
 			<Menu id={id} popover="auto">
 				{children}
 			</Menu>
-- 
cgit v1.2.3

