Add flexbox fixes for < IE9 to make the greedy nav button visible
This commit is contained in:
parent
a488a6b0fe
commit
e223934f81
2 changed files with 17 additions and 2 deletions
|
@ -16,4 +16,19 @@
|
||||||
<!-- For all browsers -->
|
<!-- For all browsers -->
|
||||||
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}">
|
<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">
|
<meta http-equiv="cleartype" content="on">
|
|
@ -198,12 +198,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
align-self: stretch;
|
|
||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
|
align-self: stretch;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: none;
|
outline: none;
|
||||||
background-color: $primary-color;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
background-color: $primary-color;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue