Skip to content

Commit 034c952

Browse files
committed
feat: 处理一些细节
1 parent 50ded37 commit 034c952

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/OperationCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const OperationCard = ({
6060
</H4>
6161
<Tooltip2
6262
placement="bottom"
63-
content={<div className="max-w-sm">下载原 JSON</div>}
63+
content={<div className="max-w-sm dark:text-slate-900">下载原 JSON</div>}
6464
>
6565
<Button
6666
small
@@ -74,7 +74,7 @@ export const OperationCard = ({
7474
</Tooltip2>
7575
<Tooltip2
7676
placement="bottom"
77-
content={<div className="max-w-sm">复制神秘代码</div>}
77+
content={<div className="max-w-sm dark:text-slate-900">复制神秘代码</div>}
7878
>
7979
<Button
8080
small

src/components/editor/floatingMap/FloatingMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function FloatingMapHeader({
242242
className={clsx(
243243
className,
244244
HEADER_CLASS,
245-
'flex items-center text-xs bg-gray-200',
245+
'flex items-center text-xs bg-gray-200 dark:bg-slate-500',
246246
config.show ? 'cursor-move' : 'cursor-default',
247247
)}
248248
style={{ height: HEADER_HEIGHT }}

0 commit comments

Comments
 (0)