Skip to content

Commit

Permalink
Remove IE9 flexbox fallback (#3042)
Browse files Browse the repository at this point in the history
IE9 is absolutely, completely, totally dead. it's marketshare is less than 0.1%.
REF: https://caniuse.com/usage-table

Save some bytes in the HTML for all users by removing the fallback inline CSS.
  • Loading branch information
coliff authored Jul 5, 2021
1 parent 5aeff0c commit ad09418
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css"></noscript>

<!--[if IE]>
<style>
/* old IE unsupported flexbox fixes */
.greedy-nav .site-title {
padding-right: 3em;
}
.greedy-nav button {
position: absolute;
top: 0;
right: 0;
height: 100%;
}
</style>
<![endif]-->

{% if site.head_scripts %}
{% for script in site.head_scripts %}
<script src="{{ script | relative_url }}"></script>
Expand Down

0 comments on commit ad09418

Please sign in to comment.