Skip to content

Commit 1337e9c

Browse files
authored
fix: operator direction arrow not active in dark mode (#437)
![image](https://github.com/user-attachments/assets/b0dc1cf8-0145-46fc-803f-ee0bf8252ae2) 坐标位置需要在暗黑模式加上主题色吗,这块我不知道是不是feature
2 parents 5a1408d + 944fdaf commit 1337e9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/editor2/action/ActionItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const ActionItem: FC<ActionItemProps> = memo(
107107
typeInfo.accentText,
108108
)}
109109
>
110-
<div className="flex flex-wrap items-center">
110+
<div className="flex flex-wrap items-center !text-inherit">
111111
<h4
112112
className={clsx(
113113
'relative shrink-0 self-stretch w-[5em] text-2xl font-serif bg-gray-100 dark:bg-gray-700 cursor-move select-none touch-manipulation',

0 commit comments

Comments
 (0)