Skip to content

Commit

Permalink
Move search form CSS to its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
lfarrell committed Dec 6, 2023
1 parent 94f4b21 commit d32bef8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/arclight/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
@import 'modules/search_results';
@import 'modules/show_collection';
@import 'modules/truncator';
@import 'modules/search_form';
10 changes: 0 additions & 10 deletions app/assets/stylesheets/arclight/modules/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,3 @@ 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;
}
}
}
9 changes: 9 additions & 0 deletions app/assets/stylesheets/arclight/modules/search_form.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// 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 d32bef8

Please sign in to comment.