Skip to content

Commit

Permalink
Merge pull request #1450 from alphagov/remove-ie-css
Browse files Browse the repository at this point in the history
Remove outdated CSS
  • Loading branch information
maxgds authored Aug 21, 2019
2 parents 8363266 + 42de4fb commit daaf5d5
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 27 deletions.
7 changes: 0 additions & 7 deletions app/assets/stylesheets/application-ie6.scss

This file was deleted.

6 changes: 0 additions & 6 deletions app/assets/stylesheets/application-ie7.scss

This file was deleted.

6 changes: 0 additions & 6 deletions app/assets/stylesheets/application-ie8.scss

This file was deleted.

5 changes: 1 addition & 4 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
<%= @content_item.page_title %> - GOV.UK
<% end %>
</title>
<!--[if gt IE 8]><!--><%= stylesheet_link_tag "application", integrity: true, crossorigin: 'anonymous' %><!--<![endif]-->
<!--[if IE 6]><%= stylesheet_link_tag "application-ie6" %><script>var ieVersion = 6;</script><![endif]-->
<!--[if IE 7]><%= stylesheet_link_tag "application-ie7" %><script>var ieVersion = 7;</script><![endif]-->
<!--[if IE 8]><%= stylesheet_link_tag "application-ie8" %><script>var ieVersion = 8;</script><![endif]-->
<%= stylesheet_link_tag "application", integrity: true, crossorigin: 'anonymous' %>
<% if Rails.env.test? && params[:medium] == 'print' %>
<%= stylesheet_link_tag "print.css", :media => "screen", integrity: true, crossorigin: 'anonymous' %>
<% else %>
Expand Down
4 changes: 0 additions & 4 deletions config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
Rails.application.config.assets.precompile += %w(
application-ie6.css
application-ie6.css
application-ie7.css
application-ie8.css
print.css
webchat.js
)

0 comments on commit daaf5d5

Please sign in to comment.