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 +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +15 -0
- data/app/views/govuk_publishing_components/components/_subscription-links.html.erb +2 -2
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/accessible-autocomplete/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97bc4d987bdf394c0d2d9d00fb8efa64d865d1b3af428c4a7544f53abe37a668
|
4
|
+
data.tar.gz: 769eea50096ee86f01d324efc7e8b6475c76f9e12953ee6c0d2c648ac54221b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"/"
|
50
50
|
],
|
51
51
|
"_resolved": "git://github.com/alphagov/accessible-autocomplete.git#0c518b4fa79b9a95b544410858486ed9e6403c84",
|
52
|
-
"_shasum": "
|
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.
|
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-
|
11
|
+
date: 2019-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govspeak
|