effective_bootstrap 0.6.27 → 0.6.28

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 920c149a3c3c86e3b88a1ba579b4a52b3cf993731dabf1f400cd3f0e90fb55c4
4
- data.tar.gz: 616923114dafbbe144209a5a12f66061f7487dcfc67ee3bf8a6316511f8f0e5e
3
+ metadata.gz: '008d5a68b036c26307af6fce976ace4793eb56f3044abeb8d2457f7f776b1978'
4
+ data.tar.gz: 87ac2c105846593df72ffaab8b1801a30c5856b88056dada7c34ed833fde6928
5
5
  SHA512:
6
- metadata.gz: e761192cd05beab319b90537bb19988c08328c648f9eb2e68892a32f7087b05849a9719644b7aea7232a555faff40b0fb8c8b713d66f5f36ffe6add2ff8e9cd6
7
- data.tar.gz: 64f216591d8ef152216fe49e4bcd30e757d2084daaf349adca7a69cf0269d621199b96d723c67b22f4f42b57cb4c49e3aef0544d57c49883882c3be5a9e75738
6
+ metadata.gz: 9b74c6259d0c20ff34207b03f26cfc15f0de84e157c2a6fc5419710b9f969470443bb3eb0dfba7e1beeae9380ee9e3d03d399bc6bf8dc0cf836b1c2aadb545d2
7
+ data.tar.gz: 54e20e6a5d8ea23cb7d91e61cf2009c69da7dfef057a010bba3c652185dc8112bf342aa9f86076a0e37b5c7f1b907d0c984553c40c6055360849996868b3de02
@@ -37,7 +37,7 @@ module EffectiveBootstrapHelper
37
37
 
38
38
  link_opts[:class] = opts.delete(:link_class) || 'btn btn-link'
39
39
  div_class = opts.delete(:div_class)
40
- card_class = opts.delete(:card_class) || 'my-2'
40
+ card_class = opts.delete(:card_class) || 'card card-body my-2'
41
41
 
42
42
  if @_accordion_active
43
43
  # Accordion collapse
@@ -55,7 +55,7 @@ module EffectiveBootstrapHelper
55
55
  # Normal collapse
56
56
  content_tag(:a, label, link_opts) +
57
57
  content_tag(:div, id: id, class: ['collapse', div_class, ('show' if show)].compact.join(' ')) do
58
- content_tag(:div, capture(&block), class: ['card', 'card-body', card_class].compact.join(' '))
58
+ content_tag(:div, capture(&block), class: card_class)
59
59
  end
60
60
  end
61
61
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.6.27'.freeze
2
+ VERSION = '0.6.28'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.27
4
+ version: 0.6.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect