govuk_publishing_components 16.9.0 → 16.9.1

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: 65381cca6e900dadbc2decf3e2aa35ec8885c53925b9f4f528d201929f3441e6
4
- data.tar.gz: f843c8dc1567810d0636394e61a016b0598e7e668990a0f80aa38f2021055109
3
+ metadata.gz: 97bc4d987bdf394c0d2d9d00fb8efa64d865d1b3af428c4a7544f53abe37a668
4
+ data.tar.gz: 769eea50096ee86f01d324efc7e8b6475c76f9e12953ee6c0d2c648ac54221b2
5
5
  SHA512:
6
- metadata.gz: 4694feb3408ffdc0f394364c0dec6878945cc15d1a7dd9c6d3b7972d1969cce0d5f8ca83e3082eacfb0f48ba12e4bd012db3b75a9285eb7ef10e4c41423b8653
7
- data.tar.gz: 74d2c6edb15437ea788d841aa31a51b3cc4e51595afee19d0d87631967808c4b53c6a709f7b5dd7db587b55e16563c88e58f96b16f665b4a2aeed10eac8a4065
6
+ metadata.gz: 27abad18a52e21e69ca29726bcabe2992ecbc8d55f9b441a4a47e71204257537083006e0e65cb2faa2dc26b661a508f2dd197cbda8af28255b55bcee4df455a7
7
+ data.tar.gz: 1c12bd58a56ebea9d108a754751a866bdef282b739ed4a517ca5249e1f653f0f59a4261dd7776ec5b0fa475164bf7400a74e4753d277bb9b781bfef35a5e9356
@@ -23,6 +23,21 @@
23
23
  margin-bottom: govuk-spacing(3);
24
24
  }
25
25
 
26
+ .gem-c-subscription-links__list-item--small {
27
+ display: inline-block;
28
+ margin-left: 0;
29
+ margin-right: 0;
30
+ margin-bottom: govuk-spacing(2);
31
+
32
+ &:first-child {
33
+ margin-right: govuk-spacing(2);
34
+ }
35
+
36
+ &:only-child {
37
+ margin-right: 0;
38
+ }
39
+ }
40
+
26
41
  .gem-c-subscription-links__link {
27
42
  @extend %govuk-link;
28
43
  text-decoration: none;
@@ -23,7 +23,7 @@
23
23
  <%= "data-module=track-click" if sl_helper.tracking_is_present? %>
24
24
  >
25
25
  <% if sl_helper.email_signup_link.present? %>
26
- <li class="gem-c-subscription-links__list-item">
26
+ <li class="gem-c-subscription-links__list-item<%= ' gem-c-subscription-links__list-item--small' if local_assigns[:small_form] == true %>" >
27
27
  <%= link_to sl_helper.email_signup_link_text, sl_helper.email_signup_link,
28
28
  class: "gem-c-subscription-links__link gem-c-subscription-links__link--email-alerts #{brand_helper.color_class}",
29
29
  data: sl_helper.email_signup_link_data_attributes
@@ -32,7 +32,7 @@
32
32
  <% end %>
33
33
 
34
34
  <% if sl_helper.feed_link_box_value || sl_helper.feed_link %>
35
- <li class="gem-c-subscription-links__list-item">
35
+ <li class="gem-c-subscription-links__list-item<%= ' gem-c-subscription-links__list-item--small' if local_assigns[:small_form] == true %>">
36
36
  <%= link_to sl_helper.feed_link_text, sl_helper.feed_link,
37
37
  class: "gem-c-subscription-links__link gem-c-subscription-links__link--feed #{brand_helper.color_class}",
38
38
  data: sl_helper.feed_link_data_attributes
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '16.9.0'.freeze
2
+ VERSION = '16.9.1'.freeze
3
3
  end
@@ -49,7 +49,7 @@
49
49
  "/"
50
50
  ],
51
51
  "_resolved": "git://github.com/alphagov/accessible-autocomplete.git#0c518b4fa79b9a95b544410858486ed9e6403c84",
52
- "_shasum": "32c35894b7cab500e11ec0556bead6a803f38f31",
52
+ "_shasum": "708ac77fbb5e1040f98848a6b674ba662a4df93e",
53
53
  "_shrinkwrap": null,
54
54
  "_spec": "accessible-autocomplete@git://github.com/alphagov/accessible-autocomplete.git#add-multiselect-support",
55
55
  "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.9.0
4
+ version: 16.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-28 00:00:00.000000000 Z
11
+ date: 2019-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govspeak