govuk_publishing_components 5.2.1 → 5.2.2

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: bc94cc7e07e90e46f3a4bf22d0fa0958a17cc405f49b5fb646cd87a9fb347ab4
4
- data.tar.gz: 7de7916bd4f5411c1c2daf3708d1e11b046c0a971424985065fcc0c58f68226f
3
+ metadata.gz: 879f4ba4c3c7c007cc1717a1fea395a4301903e726797e7b3f1b2bffab91e0e6
4
+ data.tar.gz: 67e9e5d9cfd66ada6af7ff07fcc25d5cc1c54da073c37068b2d02ba315114a92
5
5
  SHA512:
6
- metadata.gz: a4b1e28965f84d09984f45bdd218306d4724696a679c75f9b897d79f69eada7857df542851e63f252f63d5ef3b4a7773b0c6d1810e7621299e436d8e0701da42
7
- data.tar.gz: d65aa55223fc7979381527c66f837417e9695a400504b9de07ff83fcbf0cba047c5932eaaf5e7906f463ec827d82869c0200af38a2829dce20a8a1d4740c28fa
6
+ metadata.gz: 4758b11850fa4a982a022daaf82b3648fb2b43aca0051870a57673ad9c614521b9ee9d63abbb1e2ebc493edba67c9ab90e3e5dba6b10da32ad5943da89e5c35a
7
+ data.tar.gz: 9c1170ca45ccc4a4321011661ebf0816091d0e9dff86a401e27ae41b8b67e17be5a1a0d630e1e42dd765aaf76979758732ae4b48b5021427b65c08c5b653c16f
@@ -5,6 +5,11 @@
5
5
  .gem-c-feedback {
6
6
  max-width: 960px;
7
7
  margin: 0 auto;
8
+ margin-top: $gutter;
9
+
10
+ @include media(tablet) {
11
+ margin-top: $gutter * 2;
12
+ }
8
13
  }
9
14
 
10
15
  // hide without js
@@ -39,26 +44,47 @@
39
44
 
40
45
  .gem-c-feedback__prompt-question,
41
46
  .gem-c-feedback__prompt-success {
42
- display: inline;
43
- font-weight: bold;
47
+ @include bold-19;
48
+ display: inline-block;
44
49
 
45
50
  &:focus {
46
51
  outline: 0;
47
52
  }
53
+
54
+ @include media(tablet) {
55
+ @include bold-16;
56
+ float: left;
57
+ }
58
+ }
59
+
60
+ .gem-c-feedback__prompt-link {
61
+ @include core-19;
62
+ margin-left: $gutter-half;
63
+
64
+ @include media(tablet) {
65
+ @include core-16;
66
+ float: left; // needed to ensure vertical alignment consistent with prompt-link--wrong
67
+ margin-left: $gutter-one-third;
68
+ }
48
69
  }
49
70
 
50
71
  .gem-c-feedback__prompt-link:link,
51
72
  .gem-c-feedback__prompt-link:visited {
52
73
  color: $white;
53
- display: inline-block;
54
- }
55
-
56
- .gem-c-feedback__prompt-link--useful {
57
- margin-right: 0.2em;
58
74
  }
59
75
 
60
76
  .gem-c-feedback__prompt-link--wrong {
61
- float: right;
77
+ display: block;
78
+ clear: both;
79
+ margin-top: $gutter-half;
80
+ margin-left: 0;
81
+
82
+ @include media(tablet) {
83
+ float: right;
84
+ clear: none;
85
+ margin-top: 0;
86
+ margin-left: $gutter-one-third;
87
+ }
62
88
  }
63
89
 
64
90
  .gem-c-feedback__error-summary {
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '5.2.1'.freeze
2
+ VERSION = '5.2.2'.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: 5.2.1
4
+ version: 5.2.2
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: 2018-02-23 00:00:00.000000000 Z
11
+ date: 2018-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -192,20 +192,6 @@ dependencies:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: 1.3.0
195
- - !ruby/object:Gem::Dependency
196
- name: govuk-content-schema-test-helpers
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: '1.6'
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: '1.6'
209
195
  - !ruby/object:Gem::Dependency
210
196
  name: foreman
211
197
  requirement: !ruby/object:Gem::Requirement