Skip to content

Commit

Permalink
Allow autocomplete items to wrap. Otherwise, very long suggestions ca…
Browse files Browse the repository at this point in the history
…n bleed off the screen.
  • Loading branch information
lfarrell committed Nov 28, 2023
1 parent 7c1cc18 commit 94f4b21
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/assets/stylesheets/arclight/modules/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,13 @@ dl.deflist dt {
margin: $spacer 0;
padding: $spacer 0;
}

// Original style comes from https://github.com/twbs/bootstrap/blob/v5.3.2/scss/_dropdown.scss#L184
// via https://github.com/projectblacklight/blacklight/blob/v8.1.0/app/assets/stylesheets/blacklight/_search_form.scss#L25
.input-group > .search-autocomplete-wrapper {
ul {
li {
white-space: normal;
}
}
}

0 comments on commit 94f4b21

Please sign in to comment.