Skip to content

Commit

Permalink
Remove outdated print style references
Browse files Browse the repository at this point in the history
  • Loading branch information
andysellick committed Dec 12, 2022
1 parent 2a784a3 commit b384a6c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
9 changes: 0 additions & 9 deletions app/assets/stylesheets/print.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
@import "govuk_publishing_components/govuk_frontend_support";
@import "govuk_publishing_components/components/print/accordion";
@import "govuk_publishing_components/components/print/contents-list";
@import "govuk_publishing_components/components/print/govspeak";
@import "govuk_publishing_components/components/print/govspeak-html-publication";
@import "govuk_publishing_components/components/print/organisation-logo";
@import "govuk_publishing_components/components/print/step-by-step-nav";
@import "govuk_publishing_components/components/print/step-by-step-nav-header";
@import "govuk_publishing_components/components/print/title";
@import "print/html-publication";
@import "print/language_support";
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="robots" content="noindex, nofollow">
<% end %>

<%= stylesheet_link_tag "application", integrity: false %>
<%= stylesheet_link_tag "application", :media => "all", integrity: false %>
<% if Rails.env.test? && params[:medium] == 'print' %>
<%= stylesheet_link_tag "print.css", :media => "screen", integrity: false %>
<% else %>
Expand Down
1 change: 0 additions & 1 deletion config/initializers/govuk_publishing_components.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
GovukPublishingComponents.configure do |c|
c.component_guide_title = "Government Frontend Component Guide"
c.application_print_stylesheet = "print"
end

0 comments on commit b384a6c

Please sign in to comment.