Skip to content

Commit

Permalink
chore: minor cleanup and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwashbrook committed Oct 1, 2024
1 parent 6347420 commit 36813c4
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/Dfe.ContentSupport.Web.Node/styles/scss/print.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss";

//Append " (opens in tab)" to links with the appropriate class, so that we can _hide_ the text if printing
//Append " (opens in new tab)" to links with the appropriate class, so that we can _hide_ the text if printing
a.opens-in-new-tab::after {
content: " (opens in new tab)";
display: inline;
Expand All @@ -12,10 +12,6 @@ a.opens-in-new-tab::after {
display: block !important;
}

a.opens-in-new-tab::after {
content: "";
}

//Hide hr elements where the sections between them have been hidden
.govuk-\!-display-none-print + hr,
hr + .govuk-\!-display-none-print,
Expand All @@ -32,6 +28,7 @@ a.opens-in-new-tab::after {
margin-top: 10px;
}

//Reduces padding between the page title/subtitle + main content
main.govuk-main-wrapper#main-content {
padding-top: 10px !important;
padding-bottom: 10px !important;
Expand All @@ -57,10 +54,6 @@ a.opens-in-new-tab::after {
&.dfe-header__link--service {
color: black !important;
}

&.opens-in-new-tab::after {
content: "";
}
}

//Make page full width
Expand Down

0 comments on commit 36813c4

Please sign in to comment.