govuk_elements_rails 3.0.1 → 3.0.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
  SHA1:
3
- metadata.gz: ced3f4a2a6b4e91cf3b9992443b30a65876b1c65
4
- data.tar.gz: 5d64e31f577bc17f9bde16ded0491e209663dc39
3
+ metadata.gz: 3f5a84dbd590c0b2b2caace7b71d843cc051a60a
4
+ data.tar.gz: 7087493a1923fc9648705f8cc708eeac5aec313a
5
5
  SHA512:
6
- metadata.gz: f50c45caee0b617262e9dcd89c546f2a181c8b7e3c22142551e9d396256a8f7f7244f071af9103e77749414e176187d9a357963805ec50cc076ca2366db3dbe0
7
- data.tar.gz: ca651834cb0abfd2ad9dab2a55c478eb563e646c670d9ddea32efdbeb7fc5d97600244a8ca464de72d185a24773b128d2ea7fc9461ded0e0ffe12ab626be2d83
6
+ metadata.gz: afa4e526a304e15c82c1a3807ae06465d54cbb7993aab248489ffc8a33ba588bbeff282165f2b99cb2f42ea4ccfa0088d8ea2738aa24a7c472b46bd778e07959
7
+ data.tar.gz: 815a7a3e70e5f8d6aa590447f26568c88a3287d0aa609551db83444ab0a535781fd0950ad490392f5fd6d7cd21cb7c0b85113bdedd3184bdb09cba7f1f858deb
@@ -8,20 +8,11 @@
8
8
  clear: left;
9
9
  position: relative;
10
10
 
11
- padding: (8px $gutter-one-third 9px 50px);
11
+ padding: 0 0 0 38px;
12
12
  margin-bottom: $gutter-one-third;
13
13
 
14
- cursor: pointer; // Encourage clicking on the label
15
-
16
- // remove 300ms pause on mobile
17
- -ms-touch-action: manipulation;
18
- touch-action: manipulation;
19
-
20
14
  @include media(tablet) {
21
15
  float: left;
22
- padding-top: 7px;
23
- padding-bottom: 7px;
24
- // width: 25%; - Test : check that text within labels will wrap
25
16
  }
26
17
 
27
18
  // Absolutely position inputs within label, to allow text to wrap
@@ -43,6 +34,18 @@
43
34
 
44
35
  label {
45
36
  cursor: pointer;
37
+ padding: 8px $gutter-one-third 9px 12px;
38
+ display: block;
39
+
40
+ // remove 300ms pause on mobile
41
+ -ms-touch-action: manipulation;
42
+ touch-action: manipulation;
43
+
44
+ @include media(tablet) {
45
+ float: left;
46
+ padding-top: 7px;
47
+ padding-bottom: 7px;
48
+ }
46
49
  }
47
50
 
48
51
  [type=radio] + label::before {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_elements_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob McKinnon
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-03-21 00:00:00.000000000 Z
12
+ date: 2017-03-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -45,17 +45,17 @@ dependencies:
45
45
  requirements:
46
46
  - - '>='
47
47
  - !ruby/object:Gem::Version
48
- version: 5.0.2
48
+ version: 5.2.0
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - '>='
54
54
  - !ruby/object:Gem::Version
55
- version: 5.0.2
55
+ version: 5.2.0
56
56
  description: |-
57
- A gem wrapper around govuk_elements v3.0.1
58
- that pulls stylesheet and javascript files into a Rails app. Changelog: https://github.com/alphagov/govuk_elements/blob/97255d5dee2a9740070a8009eae3ab188d6cb71f
57
+ A gem wrapper around govuk_elements v3.0.2
58
+ that pulls stylesheet and javascript files into a Rails app. Changelog: https://github.com/alphagov/govuk_elements/blob/04646850aafd2236e11562c65602fc8e92a6d9f0
59
59
  /CHANGELOG.md
60
60
  email: robin.whittleton@digital.cabinet-office.gov.uk
61
61
  executables: []