Skip to content

Commit

Permalink
Comment to explain defaultFocusOutline
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyEJohnson committed Jan 10, 2024
1 parent 670c7a7 commit ccc4049
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/components/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ const Checkbox = ({children, className, ...props}: React.PropsWithChildren<Props
{children}
</label>;

// Browser default outline for focus items per
// tslint:disable-next-line:max-line-length
// https://stackoverflow.com/questions/20609485/what-is-the-default-style-of-the-blue-focus-outline-in-chrome/38498539#38498539
const defaultFocusOutline = `
outline: 0.1rem dotted #212121;
outline: 0.5rem auto -webkit-focus-ring-color;
Expand Down

0 comments on commit ccc4049

Please sign in to comment.