From 00add8ae3b5e9395d9f076e94a98bbb1480b8708 Mon Sep 17 00:00:00 2001 From: Peter Wood Date: Tue, 22 Apr 2025 16:50:38 -0400 Subject: [PATCH] fix: correct history item scaling in project instructions --- .github/copilot-instructions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 2dde671..240806b 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -9,7 +9,7 @@ This is a Pokémon finder web application built with Vite, Tailwind CSS, and van * **History:** * Displays the last 3 successfully searched Pokémon. * Stores the full data object returned by the API for each history item. - * The most recent item is displayed at 100% scale, the second at 80%, the third at 60%. + * The most recent item is displayed at 100% scale, the second at 90%, the third at 80%. * When a new Pokémon is successfully searched: * Any existing entry for that Pokémon is removed from the history array. * The new data object is added to the *beginning* of the history array. @@ -17,6 +17,7 @@ This is a Pokémon finder web application built with Vite, Tailwind CSS, and van * The history display is re-rendered. * The newly added/moved item animates in with a slide/fade effect (0.8s duration). * History items are clickable to re-trigger a search for that Pokémon. +* **Icons:** Font Awesome is used for icons, such as the microphone icon in the search input. Ensure the Font Awesome library is included in the project for proper rendering. * **Error Handling:** Displays user-friendly messages, especially for "Not Found" (404) errors. Technical errors are logged to the console. ## Build & Deployment