Skip to content

Commit 4e214dc

Browse files
committed
update export and report bug button
1 parent 7072600 commit 4e214dc

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

app/components/chat/chatExportAndImport/ExportChatButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const ExportChatButton = ({ exportChat }: { exportChat?: () => void }) =>
66
return (
77
<div className="flex border border-bolt-elements-borderColor rounded-md overflow-hidden mr-2 text-sm">
88
<DropdownMenu.Root>
9-
<DropdownMenu.Trigger className="rounded-md items-center justify-center [&:is(:disabled,.disabled)]:cursor-not-allowed [&:is(:disabled,.disabled)]:opacity-60 px-3 py-1.5 text-xs bg-bolt-elements-background-depth-2 text-bolt-elements-textPrimary [&:not(:disabled,.disabled)]:hover:bg-bolt-elements-button-primary-backgroundHover outline-accent-500 flex gap-1.7">
9+
<DropdownMenu.Trigger className="rounded-md items-center justify-center [&:is(:disabled,.disabled)]:cursor-not-allowed [&:is(:disabled,.disabled)]:opacity-60 px-3 py-1.5 text-xs bg-accent-500 text-white hover:text-bolt-elements-item-contentAccent [&:not(:disabled,.disabled)]:hover:bg-bolt-elements-button-primary-backgroundHover outline-accent-500 flex gap-1.7">
1010
Export
1111
<span className={classNames('i-ph:caret-down transition-transform')} />
1212
</DropdownMenu.Trigger>

app/components/header/HeaderActionButtons.client.tsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,18 @@ export function HeaderActionButtons({ chatStarted }: HeaderActionButtonsProps) {
8888

8989
{/* Bug Report Button */}
9090
{shouldShowButtons && (
91-
<button
92-
onClick={() =>
93-
window.open('https://github.com/stackblitz-labs/bolt.diy/issues/new?template=bug_report.yml', '_blank')
94-
}
95-
className="text-sm flex items-center gap-1.5 text-bolt-elements-item-contentDefault bg-transparent hover:text-bolt-elements-item-contentActive rounded-md px-2 py-1 hover:bg-bolt-elements-item-backgroundActive transition-colors"
96-
title="Report Bug"
97-
>
98-
<div className="i-ph:bug" />
99-
<span>Report Bug</span>
100-
</button>
91+
<div className="flex border border-bolt-elements-borderColor rounded-md overflow-hidden text-sm">
92+
<button
93+
onClick={() =>
94+
window.open('https://github.com/stackblitz-labs/bolt.diy/issues/new?template=bug_report.yml', '_blank')
95+
}
96+
className="rounded-md items-center justify-center [&:is(:disabled,.disabled)]:cursor-not-allowed [&:is(:disabled,.disabled)]:opacity-60 px-3 py-1.5 text-xs bg-accent-500 text-white hover:text-bolt-elements-item-contentAccent [&:not(:disabled,.disabled)]:hover:bg-bolt-elements-button-primary-backgroundHover outline-accent-500 flex gap-1.5"
97+
title="Report Bug"
98+
>
99+
<div className="i-ph:bug" />
100+
<span>Report Bug</span>
101+
</button>
102+
</div>
101103
)}
102104
</div>
103105
);

0 commit comments

Comments
 (0)