From 1eb3aec6cdab1a5803beddb7d6b566573162e8ec Mon Sep 17 00:00:00 2001 From: Jani Kraner Date: Wed, 27 Jun 2018 13:28:59 +0100 Subject: [PATCH 1/2] Add inline-code-block styles --- docs/assets/sass/docs.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/assets/sass/docs.scss b/docs/assets/sass/docs.scss index be7a1c3210..8d44a90550 100644 --- a/docs/assets/sass/docs.scss +++ b/docs/assets/sass/docs.scss @@ -87,6 +87,12 @@ pre { @extend .app-code; } + + p code { + border: 1px solid $govuk-border-colour; + background-color: govuk-colour("grey-4"); + padding: 0 govuk-spacing(2); + } // TODO: Blockquotes are likely the most semantic element to be using, update to use the inset component directly. blockquote { From 2c3b7a7a967e9861eece9e47dd0ab4b63ccbb009 Mon Sep 17 00:00:00 2001 From: Jani Kraner Date: Wed, 27 Jun 2018 14:55:57 +0100 Subject: [PATCH 2/2] Document in CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 147c1b9d0e..e6e1b90733 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ New features: - [#501 Add default session data](https://github.com/alphagov/govuk_prototype_kit/pull/501) - [#502 Add Cookies and Privacy policy text](https://github.com/alphagov/govuk_prototype_kit/pull/502) - [#521 Do not track users who have enabled 'DoNotTrack'](https://github.com/alphagov/govuk_prototype_kit/pull/521) +- [#522 Add inline-code block styles](https://github.com/alphagov/govuk_prototype_kit/pull/522) Bug fixes: