Skip to content

Commit

Permalink
docs: fix searchbox focus
Browse files Browse the repository at this point in the history
  • Loading branch information
astagi committed Nov 28, 2024
1 parent fec3e53 commit 1204ea5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/assets/src/scss/_algolia.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
display: block !important;
flex: 1;

& > input:focus:not(.focus--mouse) {
@extend %focus;
}

.ds-dropdown-menu {
width: 100%;
min-width: 0 !important;
Expand Down
2 changes: 2 additions & 0 deletions docs/assets/src/scss/docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
// here to override any conflicting "node_modules/bootstrap/scss/functions" definitions
@import '../../../../node_modules/bootstrap/scss/variables';
@import '../../../../node_modules/bootstrap/scss/mixins';
// focus
@import '../../../../src/scss/utilities/focus';
// Load docs components
@import 'colors';
@import 'nav';
Expand Down

0 comments on commit 1204ea5

Please sign in to comment.