Add flexbox fixes for < IE9 to make the greedy nav button visible

This commit is contained in:
Michael Rose 2017-02-14 13:13:28 -05:00
parent a488a6b0fe
commit e223934f81
2 changed files with 17 additions and 2 deletions

View file

@ -16,4 +16,19 @@
<!-- For all browsers -->
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}">
<!--[if lte IE 9]>
<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]-->
<meta http-equiv="cleartype" content="on">

View file

@ -198,12 +198,12 @@
}
button {
align-self: stretch;
padding: 0 0.5rem;
align-self: stretch;
border: 0;
outline: none;
background-color: $primary-color;
color: #fff;
background-color: $primary-color;
cursor: pointer;
}