promethee 4.1.21 → 4.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb85b9e783ea7ca04f6256cbf1e8f07faf8465334f7747ccb4d98590e057c282
4
- data.tar.gz: 4eecc4d0a1a92ad141f2192b44c52f9305a2981089d9f33a786713a581333ff4
3
+ metadata.gz: 1aafecb12274f0287bef271deebf2fc5bdd95a34e28d81f206ec0a9bb15ff7cb
4
+ data.tar.gz: 7748db008cdbd1ae0c6e789667cfd7a873434270066561fecaa64f92bd67eb61
5
5
  SHA512:
6
- metadata.gz: f13fb885e2fb9c7a8a3d470a51784258de8db2053f667217405f9d55d5818f64729a895cc43db3fa427a070431422315aa7b719b68ee42812c27ddad0d5e8274
7
- data.tar.gz: 7d4943b42cdc7bb860f1a4c4982f89dcdcad11e99bdfe21f5c2cbb4e929ea2c21b323e29723139ee2d216c28be6d4f9e3a49a4859b6a6aa41f39cdbfd36cb325
6
+ metadata.gz: c1ebfe5ce1a60ec06ef2a03e797d39203e6d371f37f5fdc81c301fe93cd01d44b45fdfb2fe8f81283e14ac5d7cb6421e84f58a800ef9e690b94714110a3d592f
7
+ data.tar.gz: 3bd2cd1fe7c731142a1740814227bbede04afeff790d4a783e3b80738786fb22ecd4bf94232f197e5ba470d88df33d81ac06c5b206913b7043d7835016f05034
@@ -63,14 +63,15 @@ $black: #000000 !default
63
63
 
64
64
  &__collection
65
65
  margin-bottom: $grid-gutter-width
66
- > div
66
+ [class*="col-"]
67
67
  margin-bottom: $grid-gutter-width
68
68
  .collection-item__content
69
69
  &:not(:last-of-type)
70
70
  margin-bottom: $grid-gutter-width
71
- a + p
72
- margin-bottom: 0
71
+ &__caption
73
72
  margin-top: 10px
73
+ p:last-of-type
74
+ margin-bottom: 0
74
75
 
75
76
  &__cover
76
77
  background-position: center center
@@ -12,20 +12,22 @@
12
12
  end
13
13
  %>
14
14
 
15
- <div class="row <%= promethee_class_for component %>"
15
+ <div class="<%= promethee_class_for component %>"
16
16
  id="<%= promethee_id_for component %>">
17
17
  <% component[:children].each.with_index do |child, n| %>
18
- <div class="<%= col_classes %>">
19
- <%= render 'promethee/show/component', component: child %>
20
- </div>
21
- <% if n%items_per_line === items_per_line - 1 %>
22
- <div class="clearfix hidden-sm hidden-xs d-none d-md-block"></div>
18
+ <div class="row promethee__component__row">
19
+ <div class="<%= col_classes %>">
20
+ <%= render 'promethee/show/component', component: child %>
21
+ </div>
22
+ <% if n%items_per_line === items_per_line - 1 %>
23
+ <div class="clearfix hidden-sm hidden-xs d-none d-md-block"></div>
24
+ <% end %>
25
+ <% if items_per_line >= 4 && n.odd? %>
26
+ <div class="clearfix visible-xs-block d-block <%= items_per_line === 4 ? 'visible-sm-block d-md-none' : 'd-sm-none' %>"></div>
27
+ <% end %>
28
+ <% if items_per_line == 6 && n%3 == 2 %>
29
+ <div class="clearfix visible-sm-block .d-none .d-sm-block .d-md-none"></div>
30
+ <% end %>
23
31
  <% end %>
24
- <% if items_per_line >= 4 && n.odd? %>
25
- <div class="clearfix visible-xs-block d-block <%= items_per_line === 4 ? 'visible-sm-block d-md-none' : 'd-sm-none' %>"></div>
26
- <% end %>
27
- <% if items_per_line == 6 && n%3 == 2 %>
28
- <div class="clearfix visible-sm-block .d-none .d-sm-block .d-md-none"></div>
29
- <% end %>
30
- <% end %>
32
+ </div>
31
33
  </div>
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '4.1.21'
3
+ VERSION = '4.1.22'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.21
4
+ version: 4.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Gaya
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2020-11-18 00:00:00.000000000 Z
17
+ date: 2020-12-17 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails