Skip to content

Commit

Permalink
Adjust focus rectangle offset
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Sep 5, 2024
1 parent 67cf46b commit 8038576
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/index.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/utilities/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/utilities/index.css.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

&:focus {
outline: 1px dotted var(--black);
outline-offset: 1px;
outline-offset: 2px;
}

.o-expandable__cue-close,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

&:focus {
outline: 1px dotted var(--pacific);
outline-offset: 2px;
outline-offset: 1px;
}

.o-summary-minimal__cue-close,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

&:focus {
outline: 1px dotted var(--pacific);
outline-offset: 2px;
outline-offset: 1px;
}

&[aria-expanded='false']::before {
Expand All @@ -42,7 +42,7 @@
right: 0;

// 4px is needed because the 2px movement of the content's bounding box.
top: calc(-100% + 4px);
top: calc(-100% + 2px);
background: linear-gradient(
to bottom,
rgba(255, 255, 255, 0%) 0%,
Expand Down

0 comments on commit 8038576

Please sign in to comment.