Skip to content

Commit

Permalink
Merge pull request #823 from alphagov/migrate-link-print-styles
Browse files Browse the repository at this point in the history
Migrate link href printing from template
  • Loading branch information
NickColley authored Aug 8, 2016
2 parents 311b3a7 + ca65983 commit 1b378f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/assets/stylesheets/helpers/_print-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ a {
text-decoration: none;
}

// Override relative link printing to include gov.uk
a[href^="/"]:after {
content: " (https://www.gov.uk" attr(href) ")";
}

h1,
h2,
h3,
Expand Down

0 comments on commit 1b378f0

Please sign in to comment.