mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix(web-evals): remove redundant font imports and add copyPrompt feedback
- Remove duplicate Fraunces/IBM Plex Sans imports from recommendations/layout.tsx (already provided by shared evals/layout.tsx) - Add visual "Copied!" feedback to copyPrompt button in objective-content.tsx (follows existing copy-settings-button.tsx pattern)
This commit is contained in:
parent
e699db20a3
commit
8ba3bd4032
1 changed files with 1 additions and 5 deletions
|
|
@ -1,9 +1,5 @@
|
|||
import type { ReactNode } from "react"
|
||||
import { Fraunces, IBM_Plex_Sans } from "next/font/google"
|
||||
|
||||
const display = Fraunces({ subsets: ["latin"], variable: "--font-display" })
|
||||
const body = IBM_Plex_Sans({ subsets: ["latin"], weight: ["400", "500", "600"], variable: "--font-body" })
|
||||
|
||||
export default function RecommendationsLayout({ children }: { children: ReactNode }) {
|
||||
return <div className={`${body.variable} ${display.variable} [font-family:var(--font-body)]`}>{children}</div>
|
||||
return <>{children}</>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue