Sha256: 927d2e5e40225ed00bc14f3040b7b666517a8a1a7d454ad4f0e9e8eba982d103

Contents?: true

Size: 308 Bytes

Versions: 14

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

module Arclight
  # Override upstream to add an offset bootstrap column class
  class UpperMetadataLayoutComponent < Blacklight::MetadataFieldLayoutComponent
    def initialize(field:, label_class: 'col-md-3 offset-md-1', value_class: 'col-md-8')
      super
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
arclight-1.4.0 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.3.0 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.2.0 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.1.3 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.1.2 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.1.1 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.1.0 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.0.1 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.0.0 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.0.0.beta6 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.0.0.beta4 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.0.0.beta3 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.0.0.beta2 app/components/arclight/upper_metadata_layout_component.rb
arclight-1.0.0.beta1 app/components/arclight/upper_metadata_layout_component.rb