Skip to content

Commit

Permalink
Merge pull request #653 from alphagov/add-conditional-comments-to-layout
Browse files Browse the repository at this point in the history
Wrap review app css file in conditional comments
  • Loading branch information
Jani Kraner authored Apr 13, 2018
2 parents 6938df7 + e42298e commit 129210b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Fixes:

Internal
- Update publishing docs (PR [#651](https://github.com/alphagov/govuk-frontend/pull/651))
- Wrap `app.css` in conditional comments in review app layout (PR [#653](https://github.com/alphagov/govuk-frontend/pull/653))

## 0.0.27-alpha (Breaking release)

Expand Down
4 changes: 3 additions & 1 deletion app/views/layouts/_generic.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>GOV.UK Frontend</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/public/css/app.css">
<!--[if !IE 8]><!-->
<link rel="stylesheet" href="/public/css/app.css">
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="/vendor/html5-shiv/html5shiv.js"></script>
<![endif]-->
Expand Down

0 comments on commit 129210b

Please sign in to comment.