govuk_publishing_components 21.13.3 → 21.13.4

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: cbd34f0166b0c5c5c38226e23ef1d95fb03fa5a3c06a05f7c2c4e1e62c5f0dbb
4
- data.tar.gz: 733069a7303c155a34053a502f2b4ef81f3284bdbb2f8af99420db69f5344083
3
+ metadata.gz: bbdea4906ccd04d6b4ee91f0df47a1134a859a8f580982693c285eb756b64de8
4
+ data.tar.gz: 8e07c0695143a322e19ebe569a3eeef0fdcc6c5f7c4d427b92c836393d1b9cac
5
5
  SHA512:
6
- metadata.gz: 85a76aa59276d5df03d3e8045a47a7f14bb46f8080274e448f2c4ebc3f84a6da4e78bc748e10340693e063165e28e2f294f61f5d228e3f85f6f27f200f825a28
7
- data.tar.gz: 6023c90967b99c03f9830989a4d70fc004f938573ac3a40686a9bf48cf3e9e74630b0c38b35b796b1f0d2c80bde30e9cc126a3421775093062250ba83a6a532e
6
+ metadata.gz: 75465c1fcf4e376cc4c451bb077cc0a29a2c713b88b64b25ac1f7b61ca3497406d15e8a262c187a77616bea562fce2c05137ea845229edb8c363c34c65339923
7
+ data.tar.gz: e91a7d2c3e42f12d04fd71399babde1e221a8d66a096e109b797fc310b83aa0ad1c5495b025cf46a040a00769b1a54e7ff6b68b4eee185a5b7cff3913b432995
@@ -164,9 +164,9 @@
164
164
  display: block;
165
165
  margin-top: govuk-spacing(3);
166
166
 
167
- @include govuk-media-query($from: tablet) {
167
+ @include govuk-media-query($from: desktop) {
168
168
  display: inline-block;
169
- margin-top: 0;
169
+ margin-top: govuk-spacing(2);
170
170
  margin-left: govuk-spacing(3);
171
171
  }
172
172
  }
@@ -193,8 +193,6 @@
193
193
  .gem-c-feedback__js-prompt-questions {
194
194
  @include govuk-media-query($until: tablet) {
195
195
  display: grid;
196
- grid-template-columns: repeat(auto-fill, minmax(150px, 140));
197
- grid-template-rows: repeat(2, auto);
198
196
  }
199
197
  }
200
198
 
@@ -210,10 +208,9 @@
210
208
  padding: 0;
211
209
 
212
210
  @include govuk-media-query($until: tablet) {
213
- grid-area: 1 / 1 / 2 / 3;
211
+ grid-area: 1 / 1 / 2 / 2;
214
212
  display: grid;
215
- grid-template-columns: repeat(2, minmax(140px, 140px));
216
- grid-template-rows: repeat(2, auto);
213
+ grid-template-columns: 140px 1fr;
217
214
  // older grid spec
218
215
  grid-row-gap: govuk-spacing(3);
219
216
  // newer grid spec
@@ -147,7 +147,7 @@ module GovukPublishingComponents
147
147
  # document_type
148
148
  return local_assigns[:strip_postcode_pii] if local_assigns.key?(:strip_postcode_pii)
149
149
 
150
- formats_that_might_include_postcodes = %w[smart_answer search]
150
+ formats_that_might_include_postcodes = %w[smart_answer finder]
151
151
  formats_that_might_include_postcodes.include?(content_item[:document_type])
152
152
  end
153
153
  end
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '21.13.3'.freeze
2
+ VERSION = '21.13.4'.freeze
3
3
  end
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: 21.13.3
4
+ version: 21.13.4
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-12-02 00:00:00.000000000 Z
11
+ date: 2019-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gds-api-adapters