[UI Components] Update the CSS of hover and focus states of CloseButton #54011
Labels
help wanted
Open for all. You do not need permission to work on these.
scope: tools/scripts
Scripts for supporting dev work, generating config and build artifacts, etc.
scope: UI
Threads for addressing UX changes and improvements to user interface
Description
The
CloseButton
component ofui-components
is missing hover and focus styles. We would like to add them in so that we can replicate the current display in /learn.Comparison:
Requirements
CloseButton
componentclose
class from theCloseButton
component inFlash
, and ensure that the change doesn't introduce any visual regression:freeCodeCamp/client/src/components/Flash/index.tsx
Lines 38 to 41 in 9f71d1c
Relevant files:
CloseButton
implementation: https://github.com/freeCodeCamp/freeCodeCamp/blob/main/tools/ui-components/src/close-button/close-button.tsxfreeCodeCamp/client/src/components/layouts/global.css
Lines 179 to 192 in 9f71d1c
The text was updated successfully, but these errors were encountered: