diff --git a/app/assets/stylesheets/blacklight/_constraints.scss b/app/assets/stylesheets/blacklight/_constraints.scss index eeebd9366f..5267d4f236 100644 --- a/app/assets/stylesheets/blacklight/_constraints.scss +++ b/app/assets/stylesheets/blacklight/_constraints.scss @@ -5,8 +5,6 @@ } .applied-filter { - @extend .mx-1; - .constraint-value { cursor: default; text-overflow: ellipsis; diff --git a/app/components/blacklight/constraint_component.rb b/app/components/blacklight/constraint_component.rb index 3bde99b50f..5282c2f9b0 100644 --- a/app/components/blacklight/constraint_component.rb +++ b/app/components/blacklight/constraint_component.rb @@ -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