Skip to content

Commit

Permalink
Move related item print styles to separate file
Browse files Browse the repository at this point in the history
Follow existing components convention for print styling.
  • Loading branch information
fofr committed Jan 13, 2016
1 parent 61f62f5 commit 73005ef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
// Components styles
@import "govspeak-print";
@import "metadata-print";
@import "related-items-print";
@import "title-print";
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.govuk-related-items {
ul a {
orphans: 2;
}
}
4 changes: 0 additions & 4 deletions app/assets/stylesheets/govuk-component/_related-items.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
&.related-items-more {
font-weight: bold;
}

a {
orphans: 2;
}
}
}
}

0 comments on commit 73005ef

Please sign in to comment.