govuk_tech_docs 2.0.2 → 2.0.3

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: ebde4d12f82b33f50b42ca4193e7f723683eb7a6395eed66e72790e8d0fa0f5e
4
- data.tar.gz: d27df7fdf15c59eeb02a433bcb119f169934183407a029e22e5d296b8e70cdca
3
+ metadata.gz: 110083c57f1c81b54874f4390c6c10387db8e216263a43bb4e686ff4479ae5a3
4
+ data.tar.gz: ce4970b96060994a031697e554387249ed1309ab976c5d6314f68c5cdcb438ca
5
5
  SHA512:
6
- metadata.gz: b76d614dc6c83d1180b8ba25b5de0748e7fafcfd1a17d51ac0feb56f1ce3062d8798d0d3dd680d7ea34a611ccd31c1bc243b27b8e6d82e7fa8e5053db0b40aaa
7
- data.tar.gz: b733d9f5b98db017f15dd82713d98756df6f340dfb79596483f448055393bc787c0fd039b01da27804962c36fa280d3f6508b61716cef1634eb9941e092a2104
6
+ metadata.gz: 1cfc83d3ce995d7bf3c1fded81516b9abf72b13da7cb8482259688c7d39e588e32c07cf78a97fa21b84683922c0cf4c1e7bba4eee9c93596beaaca8447aaa415
7
+ data.tar.gz: fd703d31fa5f6a5e644cd447c9bc871e93ce7c72986a07c12985ed3e3fc1b381c79afafcfcdb46a3dab585699a455008ccacddc4f54c1e9f9884a17c95ce992e
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.3
4
+
5
+ Fixes a couple of styling issues: [#100](https://github.com/alphagov/tech-docs-gem/issues/100) and [#106](https://github.com/alphagov/tech-docs-gem/issues/106).
6
+
3
7
  ## 2.0.2
4
8
 
5
9
  This fixes ensures all assets from govuk-frontend are bundled; we were missing some PNG, SVG and ICO files.
@@ -1,4 +1,5 @@
1
1
  .contribution-banner {
2
+ @include govuk-font($size: 19);
2
3
  padding: 0;
3
4
  max-width: 40em;
4
5
  margin-top: govuk-spacing(9);
@@ -80,6 +80,7 @@
80
80
 
81
81
  table {
82
82
  @include govuk-responsive-margin(6, "bottom");
83
+ table-layout: fixed;
83
84
  }
84
85
 
85
86
  pre + h2 {
@@ -119,11 +120,6 @@
119
120
  overflow: auto;
120
121
  position: relative;
121
122
  border: 1px solid $code-02;
122
- // Restrict the width of pre tags, as they have a tendency grow larger than
123
- // the viewport when placed within table cells.
124
- // @todo: Use table-layout: fixed, and remove the max-width definition from
125
- // .technical-documentation so tables can fill the viewport.
126
- max-width: 40em;
127
123
  }
128
124
 
129
125
  pre code {
@@ -1,3 +1,3 @@
1
1
  module GovukTechDocs
2
- VERSION = "2.0.2".freeze
2
+ VERSION = "2.0.3".freeze
3
3
  end
@@ -539,9 +539,9 @@
539
539
  }
540
540
  },
541
541
  "eslint-utils": {
542
- "version": "1.4.0",
543
- "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.0.tgz",
544
- "integrity": "sha512-7ehnzPaP5IIEh1r1tkjuIrxqhNkzUJa9z3R92tLJdZIVdWaczEhr3EbhGtsMrVxi1KeR8qA7Off6SWc5WNQqyQ==",
542
+ "version": "1.4.2",
543
+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz",
544
+ "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==",
545
545
  "dev": true,
546
546
  "requires": {
547
547
  "eslint-visitor-keys": "^1.0.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_tech_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Government Digital Service