Skip to content

Commit

Permalink
style(list): Adds minimal styles for focus ring structure
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 621607430
  • Loading branch information
material-web-copybara authored and copybara-github committed Apr 11, 2024
1 parent 68edc03 commit 6d1547d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/mdc-list/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@
}
}

// Always remove the focus ring element from flexbox layout; even if it's
// not visible initially.
.mdc-deprecated-list-item__focus-ring {
@include feature-targeting.targets($feat-structure) {
position: absolute;
}
}

.mdc-deprecated-list-item {
@include feature-targeting.targets($feat-structure) {
@include deprecated-item-base_;
Expand Down

0 comments on commit 6d1547d

Please sign in to comment.