Skip to content

Commit ad09418

Browse files
authored
Remove IE9 flexbox fallback (#3042)
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.
1 parent 5aeff0c commit ad09418

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

_includes/head.html

-15
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,6 @@
1818
<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'">
1919
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css"></noscript>
2020

21-
<!--[if IE]>
22-
<style>
23-
/* old IE unsupported flexbox fixes */
24-
.greedy-nav .site-title {
25-
padding-right: 3em;
26-
}
27-
.greedy-nav button {
28-
position: absolute;
29-
top: 0;
30-
right: 0;
31-
height: 100%;
32-
}
33-
</style>
34-
<![endif]-->
35-
3621
{% if site.head_scripts %}
3722
{% for script in site.head_scripts %}
3823
<script src="{{ script | relative_url }}"></script>

0 commit comments

Comments
 (0)