Skip to content

Commit

Permalink
remove double search text
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoneill committed Aug 28, 2024
1 parent b148ac3 commit c11d237
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/assets/stylesheets/earthworks.css
Original file line number Diff line number Diff line change
Expand Up @@ -263,4 +263,9 @@ label.toggle-bookmark {
font-family: "bootstrap-icons";
margin-right: .25rem;
vertical-align: middle;
}

/* Search button only has text, no icon */
#search .submit-search-text {
margin-right: 0!important;
}
4 changes: 3 additions & 1 deletion app/components/blacklight/icons/search_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ module Icons
# Blacklight::Icons::SearchComponent.svg = '<svg>your SVG here</svg>'
class SearchComponent < Blacklight::Icons::IconComponent
self.svg = <<~SVG
Search
<span class="d-block d-sm-none">
Search
</span>
SVG
end
end
Expand Down

0 comments on commit c11d237

Please sign in to comment.