Skip to content

Commit

Permalink
Merge branch 'constraint-margin' into build-css
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jun 20, 2024
2 parents f6e1777 + 0e4b4d1 commit fcc6794
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions app/assets/stylesheets/blacklight/_constraints.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
}

.applied-filter {
@extend .mx-1;

.constraint-value {
cursor: default;
text-overflow: ellipsis;
Expand Down
2 changes: 1 addition & 1 deletion app/components/blacklight/constraint_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Blacklight
class ConstraintComponent < Blacklight::Component
with_collection_parameter :facet_item_presenter

def initialize(facet_item_presenter:, classes: 'filter', layout: Blacklight::ConstraintLayoutComponent)
def initialize(facet_item_presenter:, classes: %w[filter mx-1], layout: Blacklight::ConstraintLayoutComponent)
@facet_item_presenter = facet_item_presenter
@classes = classes
@layout = layout
Expand Down

0 comments on commit fcc6794

Please sign in to comment.