govuk_publishing_components 5.1.0 → 5.1.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: 6484c097648ef843277296e363e464c34eb5867e38208da9d95f535465b5d3dc
4
- data.tar.gz: b385a33cf3ae71c87a358caaa745857e648b32dbb50eb79f74de2641e09ed428
3
+ metadata.gz: 27265d058d967524df2d0e420fab53b2bf9278d739dea1ed7aa8e20245413c8e
4
+ data.tar.gz: 20bfd7b105a9ddc4ed0464f10c6ed9c365e9edc9d267564a42c82c9a694c9ebf
5
5
  SHA512:
6
- metadata.gz: 05d509df697c8317057d110949d62e6d3457a92842eaea6427600808b5cf21c3e42802358d5824353cd72673e5aaba361f127b40c21cf0a9f6e42d85aa5e8c70
7
- data.tar.gz: 14caa84e583f4a8463204e4092e6cf84a8dd86f4bb04e8226cf9f75315f7bab989ae4867763e0411dfaa17e6a305e2d9586d1a32f60f515afeb33eb8630640fc
6
+ metadata.gz: 257c88b5dfadd6be3226e70a304d8d46e98c01926931ea9883f06dbe19d9a6cfcc16aa29973f56f1ec1b2a5a9fedd0bcc2819b040ffdc4fe2e64868560f06245
7
+ data.tar.gz: 37d7712fdce99007ba80f968f097ef0e449145a7a800eafbb74dc8ec739c412357805b0122695dbf636387dba63325b30c8732b83b839b974ca59e4fa4564898
@@ -65,6 +65,7 @@
65
65
  margin-bottom: $gutter-half;
66
66
  padding: $gutter-half;
67
67
  border: solid 4px $error-colour;
68
+ clear: both;
68
69
 
69
70
  &:focus {
70
71
  outline: solid 3px $focus-colour;
@@ -77,12 +78,12 @@
77
78
  // this comes from the backend so we can't put a class on it
78
79
  h2,
79
80
  .gem-c-feedback__heading {
80
- @include bold-19;
81
+ @include bold-24;
81
82
  margin: 0;
82
83
  }
83
84
 
84
85
  p {
85
- @include core-16;
86
+ @include core-19;
86
87
  margin: $gutter-one-third 0;
87
88
  }
88
89
  }
@@ -105,12 +106,12 @@
105
106
  }
106
107
 
107
108
  .gem-c-feedback__form-heading {
108
- @include bold-19;
109
+ @include bold-24;
109
110
  margin-bottom: $gutter-half;
110
111
  }
111
112
 
112
113
  .gem-c-feedback__form-paragraph {
113
- @include core-16;
114
+ @include core-19;
114
115
  margin-bottom: $gutter;
115
116
  }
116
117
 
@@ -121,16 +122,26 @@
121
122
  }
122
123
 
123
124
  .gem-c-feedback__close {
124
- @include core-16;
125
- text-align: right;
125
+ @include core-19;
126
+ float: right;
126
127
  margin-bottom: $gutter-one-third;
127
128
 
128
129
  @include media(tablet) {
129
- float: right;
130
130
  padding-top: 0;
131
131
  }
132
132
  }
133
133
 
134
+ .gem-c-feedback__email-link {
135
+ display: block;
136
+ margin-top: $gutter-half;
137
+
138
+ @include media(tablet) {
139
+ display: inline-block;
140
+ margin-top: 0;
141
+ margin-left: $gutter-half;
142
+ }
143
+ }
144
+
134
145
  .gem-c-feedback__submit {
135
146
  @include button;
136
147
  }
@@ -107,7 +107,7 @@
107
107
 
108
108
  <%# TODO: use button component once available in gem %>
109
109
  <input class="gem-c-feedback__submit" type="submit" value="Send me the survey">
110
- <a href="https://www.smartsurvey.co.uk/s/gov-uk-banner/?c=<%= request.fullpath -%>&amp;gcl=1627485790.1515403243" id="take-survey" target="_blank" rel="noopener noreferrer">Don’t have an email address?</a>
110
+ <a href="https://www.smartsurvey.co.uk/s/gov-uk-banner/?c=<%= request.fullpath -%>&amp;gcl=1627485790.1515403243" class="gem-c-feedback__email-link" id="take-survey" target="_blank" rel="noopener noreferrer">Don’t have an email address?</a>
111
111
  </div>
112
112
  </div>
113
113
  </form>
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '5.1.0'.freeze
2
+ VERSION = '5.1.1'.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.1.0
4
+ version: 5.1.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: 2018-02-16 00:00:00.000000000 Z
11
+ date: 2018-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails