govuk_publishing_components 1.12.0 → 1.12.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
  SHA1:
3
- metadata.gz: 04b3957a214548180a22d3921bcc25b1fa69163e
4
- data.tar.gz: 5a593705b493da4e2cf8cd098201a8acd4751b21
3
+ metadata.gz: 1dfd2d6f3dd09f61826bb8efa761a6967c2f38c3
4
+ data.tar.gz: 6701db53f1595abf1a985288ebb40b50d4eca892
5
5
  SHA512:
6
- metadata.gz: 26c42d56b90861b235c351040bffa9a8e9297ba50a83b2500f6557d9929c38d02148911217d6fb051807b4e8c4825f01c6cc8305ea4bd29e56682df833c2476e
7
- data.tar.gz: aea09284f8bedd1969ab41eb3a9acfd433133a3a3534a748522b31bf26cc46d8e52069ae7d726c0aae2553b495aa03539ecbb33365c172af44327ec0f99ddf61
6
+ metadata.gz: 231cdf8a06f6a0cfdad9cac0472bd67bb1af5360ff408f5371094c75d874726a2fefdcf902c053a623b7c83e6789b403f033c418d97bff30af248c160055a493
7
+ data.tar.gz: 56a0713b941833ea54d0b84d07865e4a7ba48cdbc339ab31d298d730aabcced4f9bb4a55513c7972257d6cffc26b0be9de3011a90103155b691fcf576cf02940
@@ -19,12 +19,6 @@ $border-color: #ccc;
19
19
  }
20
20
  }
21
21
 
22
- .component-description {
23
- @include core-24;
24
- max-width: 30em;
25
- margin-bottom: $gutter * 1.5;
26
- }
27
-
28
22
  .component-body {
29
23
  margin-bottom: $gutter * 1.5;
30
24
  }
@@ -10,9 +10,7 @@
10
10
  <p><a class="component-violation__link" href="https://github.com/alphagov/govuk_publishing_components/blob/master/docs/accessibility_acceptance_criteria.md">Please define accessibility acceptance criteria for this component.</a></p>
11
11
  </div>
12
12
  <% end %>
13
- <p class="component-description">
14
- <%= @component_doc.description %>
15
- </p>
13
+ <%= render 'govuk_component/lead_paragraph', text: @component_doc.description %>
16
14
  <% if @component_doc.body.present? %>
17
15
  <div class="component-body">
18
16
  <%= render 'govuk_component/govspeak', content: @component_doc.html_body %>
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '1.12.0'.freeze
2
+ VERSION = '1.12.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: 1.12.0
4
+ version: 1.12.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: 2017-10-17 00:00:00.000000000 Z
11
+ date: 2017-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails